X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=test.icl;h=f402f99f3770208ccf9110bba493a19680fe99d6;hp=d9498b479f7271cdfce10bc87f84b18ef1277526;hb=d1b0f20fbd85d85cee19347e7deda5e3a9251906;hpb=d0094022a0169765678e500d2713db15433248bd diff --git a/test.icl b/test.icl index d9498b4..f402f99 100644 --- a/test.icl +++ b/test.icl @@ -1,5 +1,12 @@ module test + +import gast import IRC -Start = "hi" +derive ggen IRCMessage + +Start = Test [] pParsePrint + +pParsePrint :: IRCMessage -> Bool +pParsePrint a = toString (parseIRCMessage (toString a)) == toString a