Преглед изворни кода

* Fix some warnings

git-svn-id: trunk@40057 -
michael пре 6 година
родитељ
комит
645a528584
1 измењених фајлова са 10 додато и 5 уклоњено
  1. 10 5
      packages/regexpr/tests/tcregexp.pp

+ 10 - 5
packages/regexpr/tests/tcregexp.pp

@@ -68,31 +68,36 @@ const
     expression: '\nd';
     expression: '\nd';
     inputText: 'abc'#13#10'def';
     inputText: 'abc'#13#10'def';
     substitutionText: '\n\x{10}\r\\';
     substitutionText: '\n\x{10}\r\\';
-    expectedResult: 'abc'#13#10#16#13'\ef'
+    expectedResult: 'abc'#13#10#16#13'\ef';
+    MatchStart: 0
     ),
     ),
     (
     (
     expression: '(\w*)';
     expression: '(\w*)';
     inputText: 'name.ext';
     inputText: 'name.ext';
     substitutionText: '$1.new';
     substitutionText: '$1.new';
-    expectedResult: 'name.new.new.ext.new.new'
+    expectedResult: 'name.new.new.ext.new.new';
+    MatchStart: 0
     ),
     ),
     (
     (
     expression: #$d'('#$a')';
     expression: #$d'('#$a')';
     inputText: 'word'#$d#$a;
     inputText: 'word'#$d#$a;
     substitutionText: '$1';
     substitutionText: '$1';
-    expectedResult: 'word'#$a
+    expectedResult: 'word'#$a;
+    MatchStart: 0
     ),
     ),
     (
     (
     expression: '(word)';
     expression: '(word)';
     inputText: 'word';
     inputText: 'word';
     substitutionText: '\U$1\\r';
     substitutionText: '\U$1\\r';
-    expectedResult: 'WORD\r'
+    expectedResult: 'WORD\r';
+    MatchStart: 0
     ),
     ),
     (
     (
     expression: '(word)';
     expression: '(word)';
     inputText: 'word';
     inputText: 'word';
     substitutionText: '$1\n';
     substitutionText: '$1\n';
-    expectedResult: 'word'#$a
+    expectedResult: 'word'#$a;
+    MatchStart: 0
     ),
     ),
     (
     (
     expression: '[A-Z]';
     expression: '[A-Z]';