Skip to content

Commit 13ea66d

Browse files
committed
fix tests
Signed-off-by: Miguel Molina <[email protected]>
1 parent c9991f4 commit 13ea66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/function/loc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func TestLoc(t *testing.T) {
2323
{"too many args given", sql.NewRow("foo.rb", "bar", "baz"), nil, sql.ErrInvalidArgumentNumber},
2424
{"invalid blob type given", sql.NewRow("foo", 5), nil, sql.ErrInvalidType},
2525
{"path and blob are given", sql.NewRow("foo", "#!/usr/bin/env python\n\nprint 'foo'"), &gocloc.ClocFile{
26-
Code: 2, Comments: 0, Blanks: 1, Name: "foo", Lang: "",
26+
Code: 2, Comments: 0, Blanks: 1, Name: "foo", Lang: "Python",
2727
}, nil},
2828
}
2929

0 commit comments

Comments
 (0)