1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-28 18:54:27 +01:00

- switch to old-school hash notation to be backwards compatible with older versions of ruby

This commit is contained in:
Mark VanderVoord
2015-07-21 07:35:29 -04:00
parent a1596c9497
commit ba87d27b77
2 changed files with 8 additions and 2 deletions

View File

@@ -130,8 +130,8 @@ class UnityTestRunnerGenerator
#parse out includes
includes = {
local: source.scan(/^\s*#include\s+\"\s*(.+)\.[hH]\s*\"/).flatten,
system: source.scan(/^\s*#include\s+<\s*(.+)\s*>/).flatten.map { |inc| "<#{inc}>" }
:local => source.scan(/^\s*#include\s+\"\s*(.+)\.[hH]\s*\"/).flatten,
:system => source.scan(/^\s*#include\s+<\s*(.+)\s*>/).flatten.map { |inc| "<#{inc}>" }
}
return includes
end