X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/8d2c2052594284dc08a548589d63b6bcaf28f653..8cf4db28224a2b074be90d2f94f16c97cc875f2b:/fth/t_file.fth diff --git a/fth/t_file.fth b/fth/t_file.fth index 018ca58..297f208 100644 --- a/fth/t_file.fth +++ b/fth/t_file.fth @@ -243,6 +243,21 @@ T{ FID1 @ CLOSE-FILE -> 0 }T \ Tidy the test folder T{ fn3 DELETE-FILE DROP -> }T +\ ------------------------------------------------------------------------------ +TESTING REQUIRED REQUIRE INCLUDED +\ Tests taken from Forth 2012 RfD + +T{ 0 S" t_required_helper1.fth" REQUIRED + REQUIRE t_required_helper1.fth + INCLUDE t_required_helper1.fth + -> 2 }T + +T{ 0 INCLUDE t_required_helper2.fth + S" t_required_helper2.fth" REQUIRED + REQUIRE t_required_helper2.fth + S" t_required_helper2.fth" INCLUDED + -> 2 }T + \ ---------------------------------------------------------------------------- TESTING two buffers available for S" and/or S\" (Forth 2012)