Skip to content

Commit 3c837ae

Browse files
committed
Tests: désactiver println dans Affichage.
1 parent aee8587 commit 3c837ae

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

microalg.l

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,12 @@ les appelle.")
130130
text (if (num? first) first (get first 'text))
131131
a_afficher (if text text (eval first)))
132132
(setq *LastStdOut (if a_afficher a_afficher "?"))
133-
(println (ifn a_afficher
134-
(if (<> *EMUENV "browser")
135-
" "
136-
"&nbsp;")
137-
a_afficher))
133+
(ifn !testing
134+
(println (ifn a_afficher
135+
(if (<> *EMUENV "browser")
136+
" "
137+
"&nbsp;")
138+
a_afficher)))
138139
Rien # Pas de valeur de retour
139140
)
140141
)

microalg_tests.malg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
(setq !testing T)
12
(let (Goods 0 Bads 0)
23
(mapc
34
'((BoolExpr)

0 commit comments

Comments
 (0)