Переглянути джерело

[display] really fix tests

Dan Korostelev 9 роки тому
батько
коміт
0ba6eeb1fa

+ 1 - 1
tests/misc/projects/Issue4270/Test.hx

@@ -12,7 +12,7 @@ class Test {
         if (exit != 0) {
             error(arg + ":\n" + stderr, exit);
         } else {
-            var exist = stderr.indexOf("<i n=\"code\">") != -1;
+            var exist = stderr.indexOf("<i n=\"code\"") != -1;
             if (shouldExist && !exist)
                 error(arg + ":\nNo 'code' field found in the completion output:\n\n" + stderr, 1);
             else if (!shouldExist && exist)

+ 1 - 1
tests/misc/projects/Issue4651/compile-server.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<i n="main"><t>Void -&gt; Unknown&lt;0&gt;</t><d></d></i>
+<i n="main" k="method"><t>Void -&gt; Unknown&lt;0&gt;</t><d></d></i>
 </list>

+ 1 - 1
tests/misc/projects/Issue4651/compile.hxml.stderr

@@ -1,3 +1,3 @@
 <list>
-<i n="main"><t>Void -&gt; Unknown&lt;0&gt;</t><d></d></i>
+<i n="main" k="method"><t>Void -&gt; Unknown&lt;0&gt;</t><d></d></i>
 </list>