Skip to content

Commit 691ce8c

Browse files
committed
fix example testcase
1 parent 36e98dd commit 691ce8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/match_object_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_get_value_string():
205205
c = StringDictionaryCompiler({"memory_limit_mb": "10"})
206206
c.add("abc", "aaaaa")
207207
c.add("abd", "bbbbb")
208-
c.add("", "{}")
208+
c.add("abe", "{}")
209209
with tmp_dictionary(c, "match_object_string.kv") as d:
210210
m = d["abc"]
211211
assert m.value == "aaaaa"
@@ -222,7 +222,7 @@ def test_get_value_string():
222222
)
223223
== "bbbbb"
224224
)
225-
m = d["abd"]
225+
m = d["abe"]
226226
# gh#333: keyvi < 0.6.4 returned a dictionary instead of a string
227227
assert m.value == "{}"
228228
assert isinstance(m.value, str)

0 commit comments

Comments
 (0)