fix(i18n): 타입 fixture 주석이 샘플 경로를 적지 않게 한다 (0929/08-03)
문제: ff33d58이 tests/fixtures/typecheck/invalid-message-params.ts 주석에 샘플 기능 테스트 경로를 적었다. 샘플 제거 드릴의 잔여물 검사가 이 문자열을 샘플이 남은 흔적으로 보고 test:sample-removal이 실패했다. 방법: 주석에서 경로를 빼고 "샘플 기능의 자기 테스트"로 적었다. 잔여물 검사 정규식을 넓히거나 이 파일을 예외로 두는 방법은 버렸다. 검사가 약해진다. 검증: 같은 정규식으로 파일을 검사해 0건. test:sample-removal은 다음 게이트 실행에서 다시 돌린다.
This commit is contained in:
+1
-1
@@ -5,5 +5,5 @@ formatMessage("en-US", "route.documentTitle", { title: "Missing app name" });
|
||||
formatMessage("en-US", "action.retry", { unexpected: "value" });
|
||||
// 0929/08-03. Parameters come from the catalog's `{name}` placeholders, and a
|
||||
// `MessageParameters` entry still narrows the value type. The feature-key case
|
||||
// lives in tests/features/reference-feature so it leaves with the sample.
|
||||
// lives with the sample feature's own tests so it leaves with the sample.
|
||||
formatMessage("en-US", "form.remaining", { count: "3" });
|
||||
|
||||
Reference in New Issue
Block a user