1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-20 00:17:04 +00:00

fixed some tests

This commit is contained in:
Steven Hugg
2018-10-11 11:08:15 -04:00
parent 3ff3789bf8
commit b171def11a
4 changed files with 11 additions and 7 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ var includeInThisContext = function(path) {
vm.runInThisContext(code, path);
};
includeInThisContext("gen/worker/assembler.js");
var assembler = require("gen/worker/assembler.js");
describe('Assemble', function() {
it('Should assemble', function() {
@@ -76,7 +76,7 @@ WaitVsync:
sta 0
jmp DisplayLoop
`;
var asm = new Assembler(EXAMPLE_SPEC);
var asm = new assembler.Assembler(EXAMPLE_SPEC);
var result = asm.assembleFile(source);
//console.log(result);
//assert.equal(result, {});