Lines Matching refs:testing

1076   call assert_equal(4,  match('testing', 'ing'))
1077 call assert_equal(4, 'testing'->match('ing', 2))
1078 call assert_equal(-1, match('testing', 'ing', 5))
1079 call assert_equal(-1, match('testing', 'ing', 8))
1080 call assert_equal(1, match(['vim', 'testing', 'execute'], 'ing'))
1081 call assert_equal(-1, match(['vim', 'testing', 'execute'], 'img'))
1085 call assert_equal(4, match('testing', 'ing', -1))
1086 call assert_fails("let x=match('testing', 'ing', 0, [])", 'E745:')
1092 call assert_equal(7, matchend('testing', 'ing'))
1093 call assert_equal(7, 'testing'->matchend('ing', 2))
1094 call assert_equal(-1, matchend('testing', 'ing', 5))
1095 call assert_equal(-1, matchend('testing', 'ing', 8))
1096 …call assert_equal(match(['vim', 'testing', 'execute'], 'ing'), matchend(['vim', 'testing', 'execut…
1097 …call assert_equal(match(['vim', 'testing', 'execute'], 'img'), matchend(['vim', 'testing', 'execut…
1107 call assert_equal('ing', matchstr('testing', 'ing'))
1108 call assert_equal('ing', 'testing'->matchstr('ing', 2))
1109 call assert_equal('', matchstr('testing', 'ing', 5))
1110 call assert_equal('', matchstr('testing', 'ing', 8))
1111 call assert_equal('testing', matchstr(['vim', 'testing', 'execute'], 'ing'))
1112 call assert_equal('', matchstr(['vim', 'testing', 'execute'], 'img'))
1116 call assert_equal(['ing', 4, 7], matchstrpos('testing', 'ing'))
1117 call assert_equal(['ing', 4, 7], 'testing'->matchstrpos('ing', 2))
1118 call assert_equal(['', -1, -1], matchstrpos('testing', 'ing', 5))
1119 call assert_equal(['', -1, -1], matchstrpos('testing', 'ing', 8))
1120 call assert_equal(['ing', 1, 4, 7], matchstrpos(['vim', 'testing', 'execute'], 'ing'))
1121 call assert_equal(['', -1, -1, -1], matchstrpos(['vim', 'testing', 'execute'], 'img'))
2157 " some more cases for testing sorting for readdirex