[improvement](outfile)support underscore prefix when select outfile (#25395)

This commit is contained in:
lsy3993
2023-10-20 19:56:55 +08:00
committed by GitHub
parent 9b64286f2d
commit ea6309059b
3 changed files with 20 additions and 1 deletions

View File

@ -55,6 +55,9 @@ public class FeNameFormatTest {
ExceptionChecker.expectThrows(AnalysisException.class, () -> FeNameFormat.checkCommonName("fakeType", "_commonName"));
ExceptionChecker.expectThrowsNoException(() -> FeNameFormat.checkCommonName("fakeType", "common-Name"));
ExceptionChecker.expectThrowsNoException(() -> FeNameFormat.checkCommonName("fakeType", "commonName-"));
// check success file name prefix
ExceptionChecker.expectThrowsNoException(() -> FeNameFormat.checkOutfileSuccessFileName("fakeType", "_success"));
}
}