Skip to content

Commit

Permalink
testing update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun Guha committed Apr 11, 2009
1 parent 1830241 commit 0b11f62
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 34 deletions.
3 changes: 2 additions & 1 deletion src/BrownPLT/Test.hs
Expand Up @@ -7,6 +7,7 @@ module BrownPLT.Test
, commandIO , commandIO
, rhinoIO , rhinoIO
, rhinoIOFile , rhinoIOFile
, SourcePos
, module Test.HUnit , module Test.HUnit
) where ) where


Expand Down Expand Up @@ -39,7 +40,7 @@ import BrownPLT.JavaScript.Parser (parseScriptFromString,parseJavaScriptFromFile
ParsedStatement) ParsedStatement)


pretty :: [ParsedStatement] -> String pretty :: [ParsedStatement] -> String
pretty stmts = renderStatements pretty stmts = renderStatements stmts


isPrettyPrintError :: ParseError -> Bool isPrettyPrintError :: ParseError -> Bool
isPrettyPrintError pe = isPrettyPrintError pe =
Expand Down
4 changes: 2 additions & 2 deletions tests/MozSuite.hs
Expand Up @@ -6,8 +6,8 @@ import System.FilePath
import System.Directory import System.Directory
import Control.Monad import Control.Monad


import WebBits.Test import BrownPLT.Test
import WebBits.JavaScript import BrownPLT.JavaScript
import qualified Data.ByteString.Char8 as B import qualified Data.ByteString.Char8 as B


isTestCall :: Statement SourcePos -> Bool isTestCall :: Statement SourcePos -> Bool
Expand Down
30 changes: 0 additions & 30 deletions tests/ParsePretty.hs

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Rhino.hs
Expand Up @@ -5,7 +5,7 @@ module Rhino where


import Control.Monad import Control.Monad
import qualified Data.ByteString.Char8 as B import qualified Data.ByteString.Char8 as B
import WebBits.Test import BrownPLT.Test






Expand Down

0 comments on commit 0b11f62

Please sign in to comment.