aboutsummaryrefslogtreecommitdiff
path: root/kbbi_client_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'kbbi_client_test.go')
-rw-r--r--kbbi_client_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbbi_client_test.go b/kbbi_client_test.go
index d83ab5c..d96d5ad 100644
--- a/kbbi_client_test.go
+++ b/kbbi_client_test.go
@@ -5,12 +5,12 @@
package kamusku
import (
- "io/ioutil"
+ "os"
"testing"
)
func TestClient_parseHTMLKataDasar(t *testing.T) {
- htmlBody, err := ioutil.ReadFile("testdata/kbbi_dasar.html")
+ htmlBody, err := os.ReadFile(`testdata/kbbi_dasar.html`)
if err != nil {
t.Fatal(err)
}