         \nrequire .* aSubmodule
         ///
       # file1 not included
-      assert.ok !generatedFiles["root/index.coffee"].match /file1/
+      assert.doesNotMatch generatedFiles["root/index.coffee"], /file1/
       assert.eq Object.keys(generatedFiles).sort(), [
         "root/aSubmodule/index.coffee"
         "root/aSubmodule/namespace.coffee"

        "root/file4.coffee"
        "root/0file3.coffee"
        "root/-file2.coffee"
        "root/aSubmodule/foo.coffee"
      ]
    .then ({generatedFiles, namespaces}) ->

        addModules
        (.|\n)*

        File5: .* _file5
        (.|\n)*

        File3: .* 0file3
        (.|\n)*

        File4: .* file4
