{"size": 377, "ext": "js", "max_stars_repo_path": "spec/commentSpec.js", "max_stars_repo_name": "colinjeanne/stop-lang", "max_stars_repo_stars_event_min_datetime": "2016-03-29T16:01:44.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-21T17:45:22.000Z", "max_issues_repo_path": "spec/commentSpec.js", "max_issues_repo_name": "colinjeanne/stop-lang", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "spec/commentSpec.js", "max_forks_repo_name": "colinjeanne/stop-lang", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.1333333333, "max_line_length": 53, "alphanum_fraction": 0.6074270557}
const stopLang = require('../umd/stop.js');

const getResult = dataString => {
    const instruction = `NOOP ${dataString}`;
    const program = new stopLang([instruction]);
    program.go();
    return program.currentResult;
};

describe('Comments', () => {
    it('come at the end of an instruction', () => {
        expect(getResult('; Foo')).not.toBeDefined();
    });
});
