Skip to content

Commit

Permalink
Bump to 0.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
joereynolds committed Feb 20, 2020
1 parent f000c4f commit 1da934e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.0.12](https://github.com/joereynolds/sql-lint/compare/v0.0.10...v0.0.12)

> 10 February 2020
- Move docs to readthedocs [`#120`](https://github.com/joereynolds/sql-lint/pull/120)
- Feature/check limit invalid argument [`#114`](https://github.com/joereynolds/sql-lint/pull/114)
- Add port option and associated help [`#113`](https://github.com/joereynolds/sql-lint/pull/113)
- Allow port to be configurable [`#111`](https://github.com/joereynolds/sql-lint/pull/111)
- Update README.md [`#105`](https://github.com/joereynolds/sql-lint/pull/105)
- Use checks automagically [`#100`](https://github.com/joereynolds/sql-lint/pull/100)
- Add alter statement and invalidAlterOption check [`#84`](https://github.com/joereynolds/sql-lint/pull/84)
- Refactor token array to class [`#82`](https://github.com/joereynolds/sql-lint/pull/82)
- Improve error messages [`#73`](https://github.com/joereynolds/sql-lint/pull/73)
- Allow UNIQUE as keyword after CREATE [`#106`](https://github.com/joereynolds/sql-lint/issues/106)
- Add coverage/ to .gitignore [`1f6135c`](https://github.com/joereynolds/sql-lint/commit/1f6135c00ed26049752c52d07dc6ad81a9be4400)
- Use Checks automatically [`5280966`](https://github.com/joereynolds/sql-lint/commit/528096691e607e07a2b2d37ea85d206d1d1a4bbe)
- Build and lint [`f9ad357`](https://github.com/joereynolds/sql-lint/commit/f9ad3579b3982a041d7eafe412c7b116ad85ce83)

#### [v0.0.10](https://github.com/joereynolds/sql-lint/compare/v0.0.9...v0.0.10)

> 12 February 2019
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@
"test": "jest test --coverage --silent",
"postinstall": "./build/postinstall.sh"
},
"version": "0.0.12"
"version": "0.0.13"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@
"test": "jest test --coverage --silent",
"postinstall": "./build/postinstall.sh"
},
"version": "0.0.12"
"version": "0.0.13"
}
16 changes: 8 additions & 8 deletions test/unit/checker/checks/generic/tableNotFound.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ test("It brings back an empty checkerResult for an empty query", () => {
expect(actual).toEqual(expected);
});

test.each([["non_existent_table", ["non_existent_table"]], ["", []]])(
"It correctly cleans a table name",
(table, expected) => {
const checker = new TableNotFound([{ Table: table }]);
const actual = checker.tables;
expect(actual).toEqual(expected);
}
);
test.each([
["non_existent_table", ["non_existent_table"]],
["", []]
])("It correctly cleans a table name", (table, expected) => {
const checker = new TableNotFound([{ Table: table }]);
const actual = checker.tables;
expect(actual).toEqual(expected);
});

0 comments on commit 1da934e

Please sign in to comment.