From 941c9fabd428b39089256af251ba358a7a4c1f00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Sat, 28 May 2016 19:01:54 +0200 Subject: [PATCH] alien.parser,gobject-introspection.ffi: fixing the manifest test errors (see #1463) --- basis/alien/parser/parser-tests.factor | 4 ++++ basis/gobject-introspection/ffi/ffi-tests.factor | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/basis/alien/parser/parser-tests.factor b/basis/alien/parser/parser-tests.factor index 4f37365611..2b10cc48f5 100644 --- a/basis/alien/parser/parser-tests.factor +++ b/basis/alien/parser/parser-tests.factor @@ -5,6 +5,8 @@ lexer namespaces parser sequences sets tools.test vocabs.parser words ; IN: alien.parser.tests +<< + : with-parsing ( lines quot -- ) [ ] [ '[ _ with-compilation-unit ] ] bi* with-lexer ; inline @@ -44,6 +46,8 @@ IN: alien.parser.tests { "ayae" } [ parse-enum-name new-definitions get first in? ] with-parsing ] unit-test +>> + TYPEDEF: char char2 SYMBOL: not-c-type diff --git a/basis/gobject-introspection/ffi/ffi-tests.factor b/basis/gobject-introspection/ffi/ffi-tests.factor index ba45684b71..e3c86a8b34 100644 --- a/basis/gobject-introspection/ffi/ffi-tests.factor +++ b/basis/gobject-introspection/ffi/ffi-tests.factor @@ -4,6 +4,8 @@ tools.test ; IN: gobject-introspection.ffi.tests ! callback +<< + { T{ return { type T{ simple-type { name "none" } } } @@ -28,3 +30,5 @@ IN: gobject-introspection.ffi.tests { void } [ "none" f simple-type boa "none" return boa return-c-type ] unit-test + +>>