MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_code_review_guidelines_appended

Function test_code_review_guidelines_appended

core/src/prompts.rs:985–995  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

983
984 #[test]
985 fn test_code_review_guidelines_appended() {
986 let slots = SystemPromptSlots {
987 style: Some(AgentStyle::CodeReview),
988 ..Default::default()
989 };
990 let built = slots.build();
991 assert!(built.contains("code review agent"));
992 assert!(built.contains("correctness"));
993 assert!(built.contains("regressions"));
994 assert!(built.contains("security"));
995 }
996
997 #[test]
998 fn test_prompts_do_not_reference_removed_surfaces() {

Callers

nothing calls this directly

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected