removed (duplicate) traces

This commit is contained in:
Leon van Kammen 2023-03-30 21:32:36 +02:00
parent aa4058e32a
commit 2fa94ed777
4 changed files with 1 additions and 4 deletions

2
make
View File

@ -27,7 +27,7 @@ tests(){
{
which python3 && python3 test/generated/test.py src/spec/*.json | awk '{ print "py: "$0 } END{ print "\n"}'
which node && node test/generated/test.js src/spec/*.json | awk '{ print "js: "$0 } END{ print "\n"}'
} | awk '$2 ~ /src/ { $2=sprintf("%-30s",$2); print $0; } 1' | tee /tmp/log.txt
} | awk '$2 ~ /src/ { $2=sprintf("%-30s",$2); print $0; next; } 1' | tee /tmp/log.txt
grep error /tmp/log.txt && exit 1 || exit 0
}

View File

@ -44,7 +44,6 @@ class Test {
}
static public function equalMulti(res:haxe.DynamicAccess<Dynamic>, item:Dynamic):Bool {
trace(res);
var target:Dynamic = res.get(item.expect.input);
var str:String = "";
if( !target ) return false;

View File

@ -182,7 +182,6 @@ Test.test = function(spec) {
}
};
Test.equalMulti = function(res,item) {
console.log("src/Test.hx:47:",res);
var target = res[item.expect.input];
var str = "";
if(!target) {

View File

@ -425,7 +425,6 @@ class Test:
@staticmethod
def equalMulti(res,item):
print(str(res))
target = Reflect.field(res,Reflect.field(Reflect.field(item,"expect"),"input"))
_hx_str = ""
if (not target):