Skip to content

Commit

Permalink
fix: fix tests in go15
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Sep 16, 2020
1 parent 255d783 commit 29c73d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion cmd/cloc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestClocByDirectory(t *testing.T) {

tests := []testcase.CmdTestCase{{
Name: "cloc",
Cmd: "cloc " + abs + " --by-directory --include-ext=java",
Cmd: "cloc " + abs + " --by-directory --include-ext=java,kt",
Golden: "testdata/cloc_directory.txt",
}}
RunTestCmd(t, tests)
Expand Down
5 changes: 2 additions & 3 deletions cmd/testdata/cloc_directory.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
package,summary,Java
pkg,0,0
pkg2,17,17
package,summary,Java,Kotlin
pkg2,20,17,3

0 comments on commit 29c73d9

Please sign in to comment.