Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Bad math fix (I'm extremely sorry for the number of commit on this PR)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederickGeek8 committed Jul 27, 2017
1 parent 0bc208a commit 58fad18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/list-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ describe 'apm list', ->

listPackages ['--enabled'], ->
expect(console.log.argsForCall[1][0]).toContain 'test2-module@1.0.0'
expect(console.log.argsForCall[3][0]).toContain 'dev-package@1.0.0'
expect(console.log.argsForCall[6][0]).toContain 'user-package@1.0.0'
expect(console.log.argsForCall[9][0]).toContain 'git-package@1.0.0'
expect(console.log.argsForCall[4][0]).toContain 'dev-package@1.0.0'
expect(console.log.argsForCall[7][0]).toContain 'user-package@1.0.0'
expect(console.log.argsForCall[10][0]).toContain 'git-package@1.0.0'

it 'lists packages in json format when --json is passed', ->
listPackages ['--json'], ->
Expand Down

0 comments on commit 58fad18

Please sign in to comment.