Skip to content

Commit

Permalink
chore: Add old dicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawaha committed Jun 15, 2024
1 parent baf0260 commit 922d2be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ipa/dict_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ func Test_LoadDictFile(t *testing.T) {
t.Fatalf("unexpected error, %v", err)
}
info := d.Info()
if info == nil {
t.Fatalf("info is nil")
}
if want, got := DictName, info.Name; want != got {
t.Errorf("want %s, got %s", want, got)
}
Expand Down
Binary file added ipa/ipa.v1.0.10.dict
Binary file not shown.
3 changes: 3 additions & 0 deletions uni/dict_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ func Test_LoadDictFile(t *testing.T) {
t.Fatalf("unexpected error, %v", err)
}
info := d.Info()
if info == nil {
t.Fatalf("info is nil")
}
if want, got := DictName, info.Name; want != got {
t.Errorf("want %s, got %s", want, got)
}
Expand Down
Binary file added uni/uni.v1.0.10.dict
Binary file not shown.

0 comments on commit 922d2be

Please sign in to comment.