bugfix: length equal

This commit is contained in:
httprunner
2017-06-30 16:57:56 +08:00
parent 434e82f95e
commit 038a5d8aef
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ class TestUtils(ApiServerUnittest):
self.assertFalse(utils.match_expected(123, "123", "eq"))
self.assertFalse(utils.match_expected(123, "123"))
self.assertTrue(utils.match_expected("123", "345", "len_eq"))
self.assertTrue(utils.match_expected("123", 3, "len_eq"))
self.assertTrue(utils.match_expected(123, "123", "str_eq"))
self.assertTrue(utils.match_expected(123, "123", "ne"))