rejeep / commander.el

Emacs command line parser
GNU General Public License v3.0
56 stars 8 forks source link

Test fails after el-mock change #8

Closed phst closed 9 years ago

phst commented 9 years ago

After https://github.com/rejeep/el-mock.el/commit/47c04b9cae5a71743ecd030828c54b311c550a16 one of the tests fails:

.........Test commander-config-test/override-options backtrace:

  signal(mock-error ((foo) (foo "baz")))
  mock-verify-args(foo nil ("baz") 2)
  apply(mock-verify-args (foo nil ("baz") 2))
  mock-verify()
  […]

Test commander-config-test/override-options condition:

    (mock-error
     (foo)
     (foo "baz"))

F...........................................................

Ran 69 tests in 0.138 seconds
1 unexpected results:
   FAILED  commander-config-test/override-options
make: *** [unit] Error 1
phst commented 9 years ago

I'll send you a PR soon.

rejeep commented 9 years ago

:+1: