I have the following code in a file called ex43.d dstring toFront(dstring str, in dchar letter) { dstring result; return result; } unittest { immutable str = "hello"d; assert(toFront(str, 'h') == "hello"); assert(toFront(str, 'o') == "ohell"); assert(toFront(str, 'l') == "llheo"); } void main() {}
When I compile this code with dmd -run ex43.d -w -unittest there is no output.
Is there some path that needs to be added to the PATH variable? Phillip