From 2979a9d8b6f6a09e45941cd6ba924d18ae3677a9 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Mon, 27 Apr 2015 19:05:36 +0200 Subject: [PATCH] =?UTF-8?q?fix=20test=20'qual'=C3=A8=20...'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/memoria-test.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/memoria-test.coffee b/test/memoria-test.coffee index eb5033b..26f14c9 100644 --- a/test/memoria-test.coffee +++ b/test/memoria-test.coffee @@ -15,10 +15,10 @@ describe 'modulo memoria', -> it 'risponde quando richiesto', (done) -> replies = 0 - arr = ["cos'è","qual'è","chi è","cosa sono","quand'è"] + arr = ["cos'è","qual'è","qual è","qualè","chi è","cosa sono","quand'è"] asjon.receive (envelope,strings) -> replies++ - if replies is 5 then done() + if replies is arr.length then done() arr.map (x) -> 'asjon ' + x + ' test' + (if Math.random() > 0.5 then '?' else '') .forEach (x) -> asjon.send x