瀏覽代碼

Remove newline and add meaningful input to ghci

Moghedrin 10 年之前
父節點
當前提交
26d8842f31
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. 0 1
      test/tests/haskell-cabal/container.sh
  2. 1 2
      test/tests/haskell-ghci/container.sh

+ 0 - 1
test/tests/haskell-cabal/container.sh

@@ -1,5 +1,4 @@
 #!/bin/bash
-
 set -e
 
 cabal update

+ 1 - 2
test/tests/haskell-ghci/container.sh

@@ -1,5 +1,4 @@
 #!/bin/bash
-
 set -e
 
-echo "" | ghci
+echo 'putStrLn "Hello, World"' | ghci