From afa33a47101ef32ec604b23b924e01e0019b930f Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sat, 13 Mar 2021 16:54:09 -0800 Subject: [PATCH] fix test --- js/debugger.ts | 2 +- test/js/debugger.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/debugger.ts b/js/debugger.ts index 6823782..f4d5ad8 100644 --- a/js/debugger.ts +++ b/js/debugger.ts @@ -132,7 +132,7 @@ export default class Debugger { } const { ar, xr, yr, sr, sp } = debugInfo; return [ - ' A=' + toHex(ar), + 'A=' + toHex(ar), ' X=' + toHex(xr), ' Y=' + toHex(yr), ' P=' + toHex(sr), diff --git a/test/js/debugger.spec.ts b/test/js/debugger.spec.ts index 2f2f76f..f38549e 100644 --- a/test/js/debugger.spec.ts +++ b/test/js/debugger.spec.ts @@ -52,7 +52,7 @@ describe('Debugger', () => { it('should dump registers', () => { const regs = theDebugger.dumpRegisters(); expect(regs).toEqual( - '0000- A=00 X=00 Y=00 P=20 S=FF --------' + 'A=00 X=00 Y=00 P=20 S=FF --------' ); }); });