fix(p10-1a-1): tighten kebab-parse-code manifest + tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
th-kim0823
2026-05-15 16:05:34 +09:00
parent ff11f81f7f
commit 2a8451c033
3 changed files with 5 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ fn special_filenames_map_to_identifiers() {
assert_eq!(code_lang_for_path(Path::new("Dockerfile")), Some("dockerfile"));
assert_eq!(code_lang_for_path(Path::new("foo.dockerfile")), Some("dockerfile"));
assert_eq!(code_lang_for_path(Path::new("Makefile")), Some("make"));
assert_eq!(code_lang_for_path(Path::new("GNUmakefile")), Some("make"));
}
#[test]

View File

@@ -46,7 +46,7 @@ fn detect_repo_walks_up_to_git_dir() {
}
#[test]
fn detect_repo_caches_per_path_call_for_repeated_files_in_same_repo() {
fn detect_repo_returns_consistent_metadata_for_paths_in_same_repo() {
let tmp = TempDir::new().unwrap();
let repo_root = tmp.path().join("myrepo");
fs::create_dir_all(&repo_root).unwrap();