Permalink
Browse files

fixing formatting and mixed tabs issues

  • Loading branch information...
1 parent ae666da commit f9f78e287191b14f39267b5219120daa313acde9 @thlorenz committed Mar 27, 2013
Showing with 12 additions and 10 deletions.
  1. +12 −10 test/upgrade.js
View
@@ -7,16 +7,18 @@ var test = require('tap').test
, cardinal = require('cardinal')
, upgrade = require('../lib/upgrade')
, fixtures = path.join(__dirname, 'fixtures')
- , defOpts = {
- quote: '\''
- , style: 'var'
- , indent: 2
- }, commaOpts = {
- quote: '\''
+ , defOpts = {
+ quote: '\''
+ , style: 'var'
+ , indent: 2
+ }
+ , commaOpts = {
+ quote: '\''
, style: 'comma'
, indent: 2
- }, commaFirstOpts = {
- quote: '\''
+ }
+ , commaFirstOpts = {
+ quote: '\''
, style: 'comma-first'
, indent: 2
}
@@ -45,8 +47,8 @@ function run(t, fixture, opts) {
t.end()
}
-[ [ 'upgrades code with define wrapper with multiple dependencies' , 'define-multiline' ]
-, [ 'upgrades code with define wrapper with multiple dependencies using comma style' , 'define-multiline-comma', commaOpts ]
+[ [ 'upgrades code with define wrapper with multiple dependencies', 'define-multiline' ]
+, [ 'upgrades code with define wrapper with multiple dependencies using comma style', 'define-multiline-comma', commaOpts ]
, [ 'upgrades code with define wrapper with multiple dependencies using comma-first style' , 'define-multiline-comma-first', commaFirstOpts ]
, [ 'upgrades code with define wrapper function definition before wrapper' , 'define-function-before' ]
, [ 'upgrades code with define wrapper function definition after wrapper' , 'define-function-after' ]

0 comments on commit f9f78e2

Please sign in to comment.