Commit ecababfa authored by dterei's avatar dterei
Browse files

Add test for #7172.

parent 2853d32c
......@@ -17,4 +17,6 @@ test('p14', normal, ghci_script, ['p14.script'])
test('p15', normal, ghci_script, ['p15.script'])
test('p16', normal, ghci_script, ['p16.script'])
test('p17', normal, ghci_script, ['p17.script'])
# 7172
test('p18', normal, ghci_script, ['p18.script'])
-- Test :issafe works
:unset +s
-- first without package trust
:issafe Data.ByteString
-- now with package trust
:set -fpackage-trust
:issafe Data.ByteString
Trust type is (Module: Trustworthy, Package: untrusted)
Package Trust: Off
Data.ByteString is trusted!
Trust type is (Module: Trustworthy, Package: untrusted)
Package Trust: On
Trusted package dependencies (untrusted): bytestring-0.10.0.0
Data.ByteString is NOT trusted!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment