Skip to content

Commit fbf3dab

Browse files
committed
Fix UNIGRAMS and BIGRAMS casing in tests
1 parent 8e8589f commit fbf3dab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_coverage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import os
22
import sys
33
from .context import wordsegment
4-
from wordsegment import load, main, isegment, segment, unigrams, bigrams
4+
from wordsegment import load, main, isegment, segment, UNIGRAMS, BIGRAMS
55

66
load()
77

88
def test_unigrams():
9-
assert 'test' in unigrams
9+
assert 'test' in UNIGRAMS
1010

1111
def test_bigrams():
12-
assert 'in the' in bigrams
12+
assert 'in the' in BIGRAMS
1313

1414
def test_segment_0():
1515
result = ['choose', 'spain']

0 commit comments

Comments
 (0)