I am trying to create a unit test using the AAA syntax.  It compiles
fine in the IDE but it fails when Nant builds it on our build machine.

Here is the code where it fails:

_logger.Stub(Sub(x) x.Error("Failure loading xml file.  " &
fileList(0).FullName & " will not be processed"))
_archiveProceesedLogs.Stub(Sub(x) x.HandleProcessedFile(fileList(0),
_processedlogslocation))

The error that I get is:

error BC30201: Expression expected.

... for both of the lines of code above.

How else can I write this code so that it works in Nant?

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to