Skip to content
This repository
Browse code

Added a test for the new option

  • Loading branch information...
commit f557023e0e7aaaa39a60e070341e354e151fb6aa 1 parent 5d72c73
Dav Glass davglass authored

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. +8 0 tests/options.js
8 tests/options.js
@@ -309,6 +309,14 @@ suite.add(new YUITest.TestCase({
309 309 ]);
310 310 Assert.areEqual('foo', Y.charset);
311 311 Y.charset = 'utf8';
  312 + },
  313 + 'test: --tab-to-space 8': function() {
  314 + var options = Y.Options([
  315 + '--tab-to-space',
  316 + '8'
  317 + ]);
  318 + Assert.areEqual(8, options.tabtospace);
  319 + Assert.areEqual(' ', options.tabspace);
312 320 }
313 321 }));
314 322

0 comments on commit f557023

Please sign in to comment.
Something went wrong with that request. Please try again.