-
-
Save whymarrh/9062422c9fe7cf085904e4663836624a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/lib/rules/strict-newline.js b/test/lib/rules/strict-newline.js | |
index cb6500e..646b376 100644 | |
--- a/test/lib/rules/strict-newline.js | |
+++ b/test/lib/rules/strict-newline.js | |
@@ -11,6 +11,17 @@ var ruleTester = new RuleTester(); | |
ruleTester.run('strict-newline', rule, { | |
valid: [ | |
{ | |
+ code: 'var a;', | |
+ parserOptions: parserOptions | |
+ }, | |
+ { | |
+ code: [ | |
+ 'var a;', | |
+ 'var b;' | |
+ ].join('\n'), | |
+ parserOptions: parserOptions | |
+ }, | |
+ { | |
code: [ | |
'"use strict"', | |
'', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment