Skip to content

Commit

Permalink
See #3. Remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Sep 23, 2018
1 parent 094d12f commit cd321c4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions test/options/indentWidth.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
import { newUnibeautify, Beautifier } from "unibeautify";
import beautifier from "@src";

// import * as fs from "fs";
// import * as path from "path";

// const text: string = fs
// .readFileSync(path.resolve(__dirname, `../fixtures/test1.py`))
// .toString();

// testWithTabWidth(0, true);
testWithTabWidth(0, true);
testWithTabWidth(1, true);
testWithTabWidth(2, true);

// testWithTabWidth(0, false);
testWithTabWidth(0, false);
testWithTabWidth(2, false);
testWithTabWidth(4, false);

Expand Down

2 comments on commit cd321c4

@stevenzeck
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Glavin001
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha good catch. In this case, since it's a unit test implementation, I'm less particular. Otherwise no-flag-args is a good rule to keep in mind 😄 .

Please sign in to comment.