build(rust): vendor googletest crate
This commit was merged in pull request #76.
This commit is contained in:
1 parent
a6fe84190e
commit
6887b104d6
576 files changed
+284290
-2
No files matched your search
@@ -0,0 +1,99 @@
|
||||
[[test]]
|
||||
name = "ascii-literal"
|
||||
regex = "a"
|
||||
haystack = "a"
|
||||
matches = [[0, 1]]
|
||||
|
||||
[[test]]
|
||||
name = "ascii-literal-not"
|
||||
regex = "a"
|
||||
haystack = "z"
|
||||
matches = []
|
||||
|
||||
[[test]]
|
||||
name = "ascii-literal-anchored"
|
||||
regex = "a"
|
||||
haystack = "a"
|
||||
matches = [[0, 1]]
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "ascii-literal-anchored-not"
|
||||
regex = "a"
|
||||
haystack = "z"
|
||||
matches = []
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "anchor-start-end-line"
|
||||
regex = '(?m)^bar$'
|
||||
haystack = "foo\nbar\nbaz"
|
||||
matches = [[4, 7]]
|
||||
|
||||
[[test]]
|
||||
name = "prefix-literal-match"
|
||||
regex = '^abc'
|
||||
haystack = "abc"
|
||||
matches = [[0, 3]]
|
||||
|
||||
[[test]]
|
||||
name = "prefix-literal-match-ascii"
|
||||
regex = '^abc'
|
||||
haystack = "abc"
|
||||
matches = [[0, 3]]
|
||||
unicode = false
|
||||
utf8 = false
|
||||
|
||||
[[test]]
|
||||
name = "prefix-literal-no-match"
|
||||
regex = '^abc'
|
||||
haystack = "zabc"
|
||||
matches = []
|
||||
|
||||
[[test]]
|
||||
name = "one-literal-edge"
|
||||
regex = 'abc'
|
||||
haystack = "xxxxxab"
|
||||
matches = []
|
||||
|
||||
[[test]]
|
||||
name = "terminates"
|
||||
regex = 'a$'
|
||||
haystack = "a"
|
||||
matches = [[0, 1]]
|
||||
|
||||
[[test]]
|
||||
name = "suffix-100"
|
||||
regex = '.*abcd'
|
||||
haystack = "abcd"
|
||||
matches = [[0, 4]]
|
||||
|
||||
[[test]]
|
||||
name = "suffix-200"
|
||||
regex = '.*(?:abcd)+'
|
||||
haystack = "abcd"
|
||||
matches = [[0, 4]]
|
||||
|
||||
[[test]]
|
||||
name = "suffix-300"
|
||||
regex = '.*(?:abcd)+'
|
||||
haystack = "abcdabcd"
|
||||
matches = [[0, 8]]
|
||||
|
||||
[[test]]
|
||||
name = "suffix-400"
|
||||
regex = '.*(?:abcd)+'
|
||||
haystack = "abcdxabcd"
|
||||
matches = [[0, 9]]
|
||||
|
||||
[[test]]
|
||||
name = "suffix-500"
|
||||
regex = '.*x(?:abcd)+'
|
||||
haystack = "abcdxabcd"
|
||||
matches = [[0, 9]]
|
||||
|
||||
[[test]]
|
||||
name = "suffix-600"
|
||||
regex = '[^abcd]*x(?:abcd)+'
|
||||
haystack = "abcdxabcd"
|
||||
matches = [[4, 9]]
|
||||
Reference in new issue
Block a user