compare-with-file
Compare the contents of a file with a string.
; ; // returns Boolean
To view a diff when the files don't match, use setLogging
.
;;
example output
- expected+ actual - Th is is the input file.\n "+-|+++-|---------------------"+ w hoop s