Permalink
Browse files

Added a test for the new option

  • Loading branch information...
1 parent 5d72c73 commit f557023e0e7aaaa39a60e070341e354e151fb6aa @davglass davglass committed Feb 26, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 tests/options.js
View
@@ -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);
}
}));

0 comments on commit f557023

Please sign in to comment.