Skip to content
Snippets Groups Projects
Commit 32f03b0b authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix DECRQCRA test

Previously, it "succeeded" if no checksum was returned.
parent 572e4c33
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -1143,7 +1143,7 @@ var tests = [
{'name':'DECRQCRA', 'func':function() {
console.write("\x1b[1;1;1;1;1;1*y");
var ras = read_ansi_string(500);
if (ras === null || ras.search(/^\x1bP1!~[A-Z0-9]{4}\x1b\\$/) !== -1)
if (ras !== null && ras.search(/^\x1bP1!~[A-Z0-9]{4}\x1b\\$/) !== -1)
return true;
return false;
}},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment