From 46021e4d773e741ef2a424c8a5116e184e137fc3 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Wed, 5 Aug 2015 18:01:05 -0700 Subject: [PATCH] fix some generic tests. --- core/parser/parser-tests.factor | 2 +- core/words/words-tests.factor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/parser/parser-tests.factor b/core/parser/parser-tests.factor index 732184bc39..9bf832197e 100644 --- a/core/parser/parser-tests.factor +++ b/core/parser/parser-tests.factor @@ -500,7 +500,7 @@ SYMBOLS: a b c ; DEFER: blah -{ } [ "IN: parser.tests GENERIC: blah ( -- )" eval( -- ) ] unit-test +{ } [ "IN: parser.tests GENERIC: blah ( x -- x )" eval( -- ) ] unit-test { } [ "IN: parser.tests SYMBOLS: blah ;" eval( -- ) ] unit-test { f } [ \ blah generic? ] unit-test diff --git a/core/words/words-tests.factor b/core/words/words-tests.factor index 113d562653..98cf9dc5e0 100644 --- a/core/words/words-tests.factor +++ b/core/words/words-tests.factor @@ -90,7 +90,7 @@ DEFER: deferred [ error>> undefined-word? ] must-fail-with { } [ - "IN: words.tests GENERIC: symbol-generic ( -- )" eval( -- ) + "IN: words.tests GENERIC: symbol-generic ( x -- x )" eval( -- ) ] unit-test { } [