mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
fix test
This commit is contained in:
parent
e83fdd999e
commit
afa33a4710
@ -132,7 +132,7 @@ export default class Debugger {
|
|||||||
}
|
}
|
||||||
const { ar, xr, yr, sr, sp } = debugInfo;
|
const { ar, xr, yr, sr, sp } = debugInfo;
|
||||||
return [
|
return [
|
||||||
' A=' + toHex(ar),
|
'A=' + toHex(ar),
|
||||||
' X=' + toHex(xr),
|
' X=' + toHex(xr),
|
||||||
' Y=' + toHex(yr),
|
' Y=' + toHex(yr),
|
||||||
' P=' + toHex(sr),
|
' P=' + toHex(sr),
|
||||||
|
@ -52,7 +52,7 @@ describe('Debugger', () => {
|
|||||||
it('should dump registers', () => {
|
it('should dump registers', () => {
|
||||||
const regs = theDebugger.dumpRegisters();
|
const regs = theDebugger.dumpRegisters();
|
||||||
expect(regs).toEqual(
|
expect(regs).toEqual(
|
||||||
'0000- A=00 X=00 Y=00 P=20 S=FF --------'
|
'A=00 X=00 Y=00 P=20 S=FF --------'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user