Beispiel #1
0
def test_match_should_find_at_end():
    c = "D:/code/go/src/github.com/raghur/fuzzy-denite/lib/api.pb.go"
    match, positions, *rest = isMatch("api.pb.go", c)
    assert match
Beispiel #2
0
def test_match_should_find_at_end1():
    c = "D:/code/go/src/github.com/raghur/fuzzy-denite/lib/test_main.py"
    match, positions, *rest = isMatch("test", c)
    assert match
Beispiel #3
0
def test_is_match():
    c = "D:/code/go/src/github.com/raghur/fuzzy-denite/lib/api.pb.go"
    match, positions, *rest = isMatch("api", c)
    assert match