Skip to content

Commit

Permalink
fix test and support strategic fast and deep mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwei committed Nov 3, 2023
1 parent d8ddb3a commit 59c3deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/domain/arch/entity/mf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ func TestMessageFlow_NewDirFilter(t *testing.T) {

// 验证生成的 DirFilter 是否符合预期
expectedPkgSet := []string{"/path/to", "/path/to/sub"}
if !equalStringSlices(dirFilter.pkgSet, expectedPkgSet) {
expectedPkgSet1 := []string{"/path/to/sub", "/path/to"}
if !(equalStringSlices(dirFilter.pkgSet, expectedPkgSet) || equalStringSlices(dirFilter.pkgSet, expectedPkgSet1)) {
t.Errorf("Expected pkgSet %v, but got %v", expectedPkgSet, dirFilter.pkgSet)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/interfaces/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func getBuildInfo() *buildInfo {

var CurrentVersion = Version{
Major: 0,
Minor: 2,
Minor: 3,
PatchLevel: 0,
Suffix: "",
}
Expand Down

0 comments on commit 59c3deb

Please sign in to comment.