Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#85

  • Loading branch information...
commit e9770ccb1c2bac43864d18636c8e423469720d3c 1 parent 30769f9
JP Moresmau authored
11 ....eclipsefp.haskell.ui.test/src/net/sf/eclipsefp/haskell/ui/internal/resolve/ResolveFromMessageTests.java
View
@@ -46,5 +46,16 @@ public void testQualifiedSuggestion(){
assertEquals("List.foldl'",sugs.get( 0 ));
}
+ @Test
+ public void testQuoteSuggestion(){
+ // https://github.com/JPMoresmau/eclipsefp/issues/85
+ String msg="Perhaps you meant execStateT' (imported from Control.Monad.Trans.State.Lazy)";
+ List<String> sugs=ReplaceTextResolution.getSuggestionsFromGHCMessage( msg );
+ assertNotNull( sugs );
+ assertEquals( 1, sugs.size() );
+ assertEquals("execStateT'",sugs.get( 0 ));
+ }
+
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.