AutoItMicro / MicroUnitTestingFramework

Micro is a xUnit style testing framework design for use with AutoIt. The goal of Micro is to be easy to use and simple to integrate with continuous integration services.
http://autoitmicro.github.io/MicroUnitTestingFramework
MIT License
6 stars 3 forks source link

#include for AutoItObject in micro.au3 should use backslash instead of slash #23

Closed dmwyatt closed 10 years ago

dmwyatt commented 10 years ago

Even though AutoItObject has #include-once, AutoIt's logic for only including once is messed up if one UDF uses #include <AutoItObject\AutoItObject.au3> and another uses #include <AutoItObject/AutoItObject.au3>.

This leads to AutoIT trying to include AutoItObject twice and running into hundreds of errors about trying to redeclare all the Global Const's and function names in AutoItObject.

As this is Windows, I believe we should standardize on backslashes since most UDF's will use backslashes.

Currently, I have to manually edit micro.au3 and change the slash to a backslash.

KyleChamberlin commented 10 years ago

Interestingly I have never ran into that issue. I agree that it should be standardized. I will fix that today.