mirror of
https://github.com/emkay/parser-6502.git
synced 2024-12-30 12:31:29 +00:00
11 lines
248 B
JavaScript
11 lines
248 B
JavaScript
const tap = require('tap')
|
|
const mona = require('mona')
|
|
const labelParser = require('../parsers/label')
|
|
|
|
tap.test('should parse a label', (t) => {
|
|
t.plan(2)
|
|
t.deepEqual(mona.parse(labelParser(), 'SOMETHING:'), {
|
|
label: 'SOMETHING:'
|
|
})
|
|
})
|