Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a test for the new option

  • Loading branch information...
commit f557023e0e7aaaa39a60e070341e354e151fb6aa 1 parent 5d72c73
@davglass davglass authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 tests/options.js
View
8 tests/options.js
@@ -309,6 +309,14 @@ suite.add(new YUITest.TestCase({
]);
Assert.areEqual('foo', Y.charset);
Y.charset = 'utf8';
+ },
+ 'test: --tab-to-space 8': function() {
+ var options = Y.Options([
+ '--tab-to-space',
+ '8'
+ ]);
+ Assert.areEqual(8, options.tabtospace);
+ Assert.areEqual(' ', options.tabspace);
}
}));
Please sign in to comment.
Something went wrong with that request. Please try again.