Update tests for LICENSE.txt rename.

locals-and-roots
John Benediktsson 2016-03-16 09:59:42 -07:00
parent dc3f4ad178
commit 497f8cb514
6 changed files with 9 additions and 9 deletions

View File

@ -99,9 +99,9 @@ IN: io.streams.limited.tests
{ t }
[
[
"resource:license.txt" utf8 <file-reader> &dispose
"resource:LICENSE.txt" utf8 <file-reader> &dispose
3 limit-stream unlimit-stream
"resource:license.txt" utf8 <file-reader> &dispose
"resource:LICENSE.txt" utf8 <file-reader> &dispose
[ decoder? ] both?
] with-destructors
] unit-test

View File

@ -42,12 +42,12 @@ IN: lists.lazy.tests
{ { 1 2 3 } } [ { 1 2 3 4 5 } >list [ 2 > ] luntil list>array ] unit-test
{ } [
"resource:license.txt" utf8 <file-reader> [
"resource:LICENSE.txt" utf8 <file-reader> [
llines list>array drop
] with-disposal
] unit-test
{ } [
"resource:license.txt" utf8 <file-reader> [
"resource:LICENSE.txt" utf8 <file-reader> [
lcontents list>array drop
] with-disposal
] unit-test

View File

@ -155,7 +155,7 @@ os macosx? [
test-image temp-file =
] unit-test
{ } [ "resource:license.txt" "license.txt" temp-file copy-file ] unit-test
{ } [ "resource:LICENSE.txt" "license.txt" temp-file copy-file ] unit-test
{ } [ "tools.deploy.test.19" shake-and-bake run-temp-image ] unit-test

View File

@ -4,6 +4,6 @@ USING: io io.files io.encodings.ascii ;
IN: tools.deploy.test.19
: main ( -- )
"vocab:license.txt" ascii file-contents write ;
"vocab:LICENSE.txt" ascii file-contents write ;
MAIN: main

View File

@ -245,7 +245,7 @@ CONSTANT: pt-array-1
] must-fail
{ } [
"resource:license.txt" binary [
"resource:LICENSE.txt" binary [
44 read drop
tell-input 44 assert=
-44 seek-relative seek-input

View File

@ -131,7 +131,7 @@ IN: io.streams.peek.tests
! Issue #1317
{ "Red" } [
"resource:license.txt" binary [
"resource:LICENSE.txt" binary [
input-stream [ <peek-stream> ] change
peek1 drop
3 read >string
@ -139,7 +139,7 @@ IN: io.streams.peek.tests
] unit-test
{ "ist" } [
"resource:license.txt" binary [
"resource:LICENSE.txt" binary [
input-stream [ <peek-stream> ] change
peek1 drop
3 read drop