Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
c8755c9a
Commit
c8755c9a
authored
Feb 03, 2012
by
Ian Lynagh
Browse files
Text.Printf tests have moved to base; part of #1161
parent
ff4939ef
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/lib/Text.Printf/1548.hs
deleted
100644 → 0
View file @
ff4939ef
import
Text.Printf
main
=
do
printf
"%.*f
\n
"
(
2
::
Int
)
((
1
/
3
)
::
Double
)
-- (expected: "0.33")
printf
"%.3s
\n
"
"foobar"
-- (expected: "foo")
printf
"%10.5d
\n
"
(
4
::
Int
)
-- (expected: " 00004")
testsuite/tests/lib/Text.Printf/1548.stdout
deleted
100644 → 0
View file @
ff4939ef
0.33
foo
00004
testsuite/tests/lib/Text.Printf/Makefile
deleted
100644 → 0
View file @
ff4939ef
TOP
=
../../..
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/test.mk
testsuite/tests/lib/Text.Printf/all.T
deleted
100644 → 0
View file @
ff4939ef
test
('
1548
',
normal
,
compile_and_run
,
[''])
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment