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

Fix DECRQCRA test

Previously, it "succeeded" if no checksum was returned.
parent d39d4264
Branches
Tags
No related merge requests found
......@@ -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