Skip to content

Commit 05f0cff

Browse files
author
Dean Karn
committed
fix test
1 parent a4557d3 commit 05f0cff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ _testmain.go
2121

2222
*.exe
2323
*.test
24-
*.prof
24+
*.prof
25+
*.coverprofile

import_export_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ func TestBadImport(t *testing.T) {
747747
}
748748
f.Close()
749749

750-
expected = "read testdata/bad-translation6.json: bad file descriptor"
750+
expected = "read testdata/bad-translation6.json: file already closed"
751751
err = uni.ImportByReader(FormatJSON, f)
752752
if err == nil || err.Error() != expected {
753753
t.Fatalf("Expected '%s' Got '%s'", expected, err)

0 commit comments

Comments
 (0)