diff options
Diffstat (limited to 'cc/test_data_test.go')
-rw-r--r-- | cc/test_data_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cc/test_data_test.go b/cc/test_data_test.go index 21ea765eb..962ff2685 100644 --- a/cc/test_data_test.go +++ b/cc/test_data_test.go @@ -126,10 +126,8 @@ func TestDataTests(t *testing.T) { "dir/baz": nil, "dir/bar/baz": nil, }) - ctx.RegisterModuleType("filegroup", - android.ModuleFactoryAdaptor(android.FileGroupFactory)) - ctx.RegisterModuleType("test", - android.ModuleFactoryAdaptor(newTest)) + ctx.RegisterModuleType("filegroup", android.FileGroupFactory) + ctx.RegisterModuleType("test", newTest) ctx.Register() _, errs := ctx.ParseBlueprintsFiles("Blueprints") |