Skip to content

Commit

Permalink
Error: 'no-table-and-rawtable'
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoefe committed Sep 26, 2016
1 parent ab629e0 commit 39d440d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions test/errors/no-table-and-rawtable.errors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
errors:
- 'undefined table name'
- 'no rawTable in input'
4 changes: 1 addition & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ describe("old errors", function(){
);
var optDummyTxt = new Buffer('dummy', 'binary');
[
{ name:'no rawTable and tableName',
param:{},
errors:[eNoTable, eNoTXT]},
{ name:'no tableName and columnNamesFormat',
param:{rawTable:optDummyTxt, opts:optBadFieldFormat},
errors:[eNoTable, eBadFieldFormat]},
Expand Down Expand Up @@ -221,6 +218,7 @@ describe("old errors", function(){
describe("input errors", function(){
[
{ name:'no-rawtable' },
{ name:'no-table-and-rawtable' },
].forEach(function(check){
if(check.skip) {
it.skip(check.name);
Expand Down

0 comments on commit 39d440d

Please sign in to comment.