diff options
Diffstat (limited to 'word_test.go')
| -rw-r--r-- | word_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/word_test.go b/word_test.go index 5dcb468..cfc0de5 100644 --- a/word_test.go +++ b/word_test.go @@ -5,10 +5,10 @@ package kamusku import ( - "io/ioutil" + "os" "testing" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestWord_parseHTMLEntri(t *testing.T) { @@ -45,7 +45,7 @@ func TestWord_parseHTMLEntri(t *testing.T) { }} for _, c := range cases { - htmlBody, err := ioutil.ReadFile(c.infile) + htmlBody, err := os.ReadFile(c.infile) if err != nil { t.Fatal(err) } @@ -58,9 +58,9 @@ func TestWord_parseHTMLEntri(t *testing.T) { } for x, def := range c.exp.Definition { - test.Assert(t, "Definition", def, got.Definition[x], true) + test.Assert(t, `Definition`, def, got.Definition[x]) } - test.Assert(t, c.infile, c.exp, got, true) + test.Assert(t, c.infile, c.exp, got) } } |
