Skip to content

Commit

Permalink
wip/'fix'tests (rm mostly)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Mar 29, 2023
1 parent e65f4c1 commit c87a3fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 86 deletions.
41 changes: 0 additions & 41 deletions cmd/testscript/testdata/simple.txt

This file was deleted.

47 changes: 2 additions & 45 deletions cmd/testscript/testdata/update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,54 +11,11 @@ stderr 'cannot use -u when reading from stdin'
# a regular file
testscript -u - in.txt
cmp in.txt res.txt

-- stdout.txt --
hello
-- in.txt --
exec printf 'hello\n'
cmp stdout stdout.txt

-- .gomodproxy/fruit.com_v1.0.0/.mod --
module fruit.com

-- .gomodproxy/fruit.com_v1.0.0/.info --
{"Version":"v1.0.0","Time":"2018-10-22T18:45:39Z"}

-- .gomodproxy/fruit.com_v1.0.0/go.mod --
module fruit.com

-- stdout.txt --
goodbye
-- .gomodproxy/fruit.com_v1.0.0/fruit/fruit.go --
package fruit

const Apple = "apple"
-- .gomodproxy/fruit.com_v1.0.0/coretest/coretest.go --
// package coretest becomes a candidate for the missing
// core import in main above
package coretest

const Mandarin = "mandarin"
-- res.txt --
exec printf 'hello\n'
cmp stdout stdout.txt

-- .gomodproxy/fruit.com_v1.0.0/.mod --
module fruit.com

-- .gomodproxy/fruit.com_v1.0.0/.info --
{"Version":"v1.0.0","Time":"2018-10-22T18:45:39Z"}

-- .gomodproxy/fruit.com_v1.0.0/go.mod --
module fruit.com

-- stdout.txt --
hello
-- .gomodproxy/fruit.com_v1.0.0/fruit/fruit.go --
package fruit

const Apple = "apple"
-- .gomodproxy/fruit.com_v1.0.0/coretest/coretest.go --
// package coretest becomes a candidate for the missing
// core import in main above
package coretest

const Mandarin = "mandarin"

0 comments on commit c87a3fc

Please sign in to comment.