Update asserts for new outputs
This commit is contained in:
parent
8176bb6438
commit
7da23f95df
@ -29,9 +29,9 @@ describe 'modulo wolfram', ->
|
||||
acc = 0
|
||||
asjon.receive (e,l) ->
|
||||
if acc is 0
|
||||
l.join().should.equal 'Contattando Wolfram Alpha...'
|
||||
l.join().should.match /(\w+| )+\.{3}$/g
|
||||
else
|
||||
l.join().should.equal 'invalid response from Wolfram Alpha'
|
||||
l.join().split(':')[0].should.equal "c'è qualche problema"
|
||||
acc++
|
||||
if acc is 2 then done()
|
||||
asjon.send 'asjon wfa test'
|
||||
@ -44,7 +44,7 @@ describe 'modulo wolfram', ->
|
||||
acc = 0
|
||||
asjon.receive (e,l) ->
|
||||
if acc is 0
|
||||
l.join().should.equal 'Contattando Wolfram Alpha...'
|
||||
l.join().should.match /(\w+| )+\.{3}$/g
|
||||
else
|
||||
list = l.join().split '\n'
|
||||
list[0].should.equal '=== Input interpretation'
|
||||
|
Loading…
Reference in New Issue
Block a user