1
0
mirror of https://github.com/emkay/parser-6502.git synced 2024-12-21 15:29:19 +00:00
parser-6502/test/label.js
Michael Matuzak 8a077f9d66 first
2016-10-02 14:54:14 -07:00

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:'
})
})