Skip to content

Commit

Permalink
Renaming in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed May 18, 2020
1 parent 3f6b54a commit 2830669
Show file tree
Hide file tree
Showing 34 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/syntax-match.js → test/definition-syntax-match.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const prepareTokens = require('../lib/lexer/prepare-tokens');
const genericSyntaxes = require('../lib/lexer/generic');
const { buildMatchGraph } = require('../lib/lexer/match-graph');
const { matchAsList, matchAsTree } = require('../lib/lexer/match');
const fixture = require('./fixture/syntax-match');
const fixture = require('./fixture/definition-syntax-match');

function processMatchResult(mr) {
if (Array.isArray(mr)) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/lexer-match-atrule-descriptor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const assert = require('assert');
const { parse, lexer, fork } = require('./helpers/lib');
const { lazyValues } = require('./helpers');
const fixture = require('./fixture/syntax');
const fixture = require('./fixture/definition-syntax');
const values = lazyValues({
swapValue: () => parse('swap', { context: 'value' }),
xxxValue: () => parse('xxx', { context: 'value' }),
Expand Down
2 changes: 1 addition & 1 deletion test/lexer-match-atrule-prelude.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const assert = require('assert');
const { parse, lexer, fork } = require('./helpers/lib');
const { lazyValues } = require('./helpers');
const fixture = require('./fixture/syntax');
const fixture = require('./fixture/definition-syntax');
const values = lazyValues({
animationName: () => parse('animation-name', { context: 'atrulePrelude', atrule: 'keyframes' }),
number: () => parse('123', { context: 'atrulePrelude', atrule: 'unknown' }),
Expand Down
2 changes: 1 addition & 1 deletion test/lexer-match-property.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const assert = require('assert');
const { parse, lexer, fork } = require('./helpers/lib');
const { lazyValues } = require('./helpers');
const fixture = require('./fixture/syntax');
const fixture = require('./fixture/definition-syntax');
const values = lazyValues({
bar: () => parse('bar', { context: 'value' }),
qux: () => parse('qux', { context: 'value' }),
Expand Down
2 changes: 1 addition & 1 deletion test/parse.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const assert = require('assert');
const { parse, walk, List } = require('./helpers/lib');
const forEachParseTest = require('./fixture/parse').forEachTest;
const genericTypesFixture = require('./fixture/syntax-match/generic.json');
const genericTypesFixture = require('./fixture/definition-syntax-match/generic.json');
const stringifyWithNoInfo = ast => JSON.stringify(ast, (key, value) => key !== 'loc' ? value : undefined, 4);

function createParseErrorTest(name, test, options) {
Expand Down

0 comments on commit 2830669

Please sign in to comment.