Replaced deprecated octal literal with hexadecimal

Octal literals are deprecated in JavaScript 1.5 and Gjs were generating
warnings because of them.
This commit is contained in:
Kristóf Marussy
2013-01-16 14:35:17 +01:00
committed by Sheel Choksi
parent 666e9c341e
commit 4350045d61
2 changed files with 6 additions and 6 deletions

View File

@@ -198,7 +198,7 @@ describe("ConsoleReporter", function() {
reporter.specDone({status: "passed"});
expect(out.getOutput()).toEqual("\033[32m.\033[0m");
expect(out.getOutput()).toEqual("\x1B[32m.\x1B[0m");
});
it("does not report a disabled spec", function() {
@@ -220,7 +220,7 @@ describe("ConsoleReporter", function() {
reporter.specDone({status: 'failed'});
expect(out.getOutput()).toEqual("\033[31mF\033[0m");
expect(out.getOutput()).toEqual("\x1B[31mF\x1B[0m");
});
});
});