mirror of
https://github.com/emkay/parser-6502.git
synced 2026-04-20 11:18:19 +00:00
yep
This commit is contained in:
+3
-4
@@ -8,10 +8,9 @@ tap.test('should parse the basics', (t) => {
|
||||
{
|
||||
directive: '.org',
|
||||
args: [
|
||||
[
|
||||
'address',
|
||||
'C000'
|
||||
]
|
||||
{
|
||||
'address': 'C000'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ const instructionParser = require('../parsers/instruction')
|
||||
tap.test('will parse an instruction', (t) => {
|
||||
t.plan(1)
|
||||
t.deepEqual(mona.parse(instructionParser(), 'sei\n'), {
|
||||
args: [],
|
||||
args: null,
|
||||
instruction: 'sei'
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user