mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Missed renames of TEST_FILE() directive
This commit is contained in:
@@ -197,7 +197,7 @@ class UnityTestRunnerGenerator
|
||||
includes = {
|
||||
local: source.scan(/^\s*#include\s+\"\s*(.+\.#{@options[:include_extensions]})\s*\"/).flatten,
|
||||
system: source.scan(/^\s*#include\s+<\s*(.+)\s*>/).flatten.map { |inc| "<#{inc}>" },
|
||||
linkonly: source.scan(/^TEST_FILE\(\s*\"\s*(.+\.#{@options[:source_extensions]})\s*\"/).flatten
|
||||
linkonly: source.scan(/^TEST_SOURCE_FILE\(\s*\"\s*(.+\.#{@options[:source_extensions]})\s*\"/).flatten
|
||||
}
|
||||
includes
|
||||
end
|
||||
|
||||
2
test/testdata/testRunnerGeneratorSmall.c
vendored
2
test/testdata/testRunnerGeneratorSmall.c
vendored
@@ -4,7 +4,7 @@
|
||||
#include "unity.h"
|
||||
#include "Defs.h"
|
||||
|
||||
TEST_FILE("some_file.c")
|
||||
TEST_SOURCE_FILE("some_file.c")
|
||||
|
||||
/* Notes about prefixes:
|
||||
test - normal default prefix. these are "always run" tests for this procedure
|
||||
|
||||
Reference in New Issue
Block a user