File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1+ ## 0.3.4  
2+ 
3+ -  Remove 'Eq a' requirement from 'ediffGolden'. The constraint wasn't used, as we only compare 'Expr' representations.
4+ 
15## 0.3.3  
26
37-  Change 'ediffGolden' so that parse errors in expected file don't cause the hard failure.
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import qualified Text.PrettyPrint.ANSI.Leijen as WL
3737--  for a proper example. 
3838-- 
3939ediffGolden
40-     ::  ( Eq   a ,  ToExpr  a ) 
40+     ::  ToExpr  a 
4141    =>  (testName  ->  IO   Expr  ->  IO   Expr  ->  (Expr  ->  Expr  ->  IO   (Maybe   String  )) ->  (Expr  ->  IO   () ) ->  testTree ) --  ^  'goldenTest' 
4242    ->  testName   --  ^  test name 
4343    ->  FilePath    --  ^  path to "golden file" 
@@ -51,7 +51,7 @@ ediffGolden impl testName fp x = ediffGolden1 impl' testName fp (\() -> x) where
5151--  @since 0.3.2 
5252-- 
5353ediffGolden1
54-     ::  forall  a  arg  testName  testTree .  ( Eq   a ,  ToExpr  a ) 
54+     ::  forall  a  arg  testName  testTree .  ToExpr  a 
5555    =>  (testName  ->  IO   Expr  ->  (arg  ->  IO   Expr ) ->  (Expr  ->  Expr  ->  IO   (Maybe   String  )) ->  (Expr  ->  IO   () ) ->  testTree ) --  ^  'goldenTest' 
5656    ->  testName   --  ^  test name 
5757    ->  FilePath    --  ^  path to "golden file" 
Original file line number Diff line number Diff line change 11cabal-version :      2.2
22name :               tree-diff
3- version :            0.3.3  
3+ version :            0.3.4  
44synopsis :           Diffing of (expression) trees.
55category :           Data, Testing
66description :
@@ -143,7 +143,7 @@ test-suite tree-diff-test
143143    , unordered-containers
144144
145145  if (impl(ghc >= 8 ) &&  !impl(ghc >= 9.4 ))
146-     build-depends  : data-array-byte
146+     build-dehpends  : data-array-byte
147147
148148  if impl(ghc < 7.5 )
149149    build-depends : ghc-prim
@@ -171,4 +171,4 @@ benchmark tree-diff-bench
171171  -- extra dependencies 
172172  build-depends :
173173    , criterion  ^>= 1.6.3.0 
174-     , Diff       ^>= 0.5 
174+     , Diff       ^>= 1.0 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments