Trying to fix unit test fails

This commit is contained in:
Matthias Koefferlein
2023-04-07 17:34:23 +02:00
parent 0802bc845d
commit 015263fb0e
2 changed files with 12 additions and 1 deletions
+8
View File
@@ -186,6 +186,14 @@ END
rescue Exception => ex
msg = ex.message
end
# normalize paths for Windows
msg = msg.gsub("\\", "/")
input = input.gsub("\\", "/")
puts "INFO: msg is '#{msg}'"
puts "INFO: input is '#{input}'"
assert_equal(msg.sub(input, "<INPUT>"), "Nothing implemented in <INPUT>, line 22 in Netlist::read")
assert_equal(nl.description, "Read by MyDelegate")