Revert "Add unit test for parsing build files in bp2build"
This reverts commit e1f25230df
.
Reason for revert: breaks bp2build ci
Change-Id: I7320ef679d8a1ba1d605cf0d3781854b97816358
This commit is contained in:
committed by
Gerrit Code Review
parent
e1f25230df
commit
3d927238cc
@@ -275,15 +275,6 @@ func FixtureModifyContext(mutator func(ctx *TestContext)) FixturePreparer {
|
||||
})
|
||||
}
|
||||
|
||||
// Sync the mock filesystem with the current config, then modify the context,
|
||||
// This allows context modification that requires filesystem access.
|
||||
func FixtureModifyContextWithMockFs(mutator func(ctx *TestContext)) FixturePreparer {
|
||||
return newSimpleFixturePreparer(func(f *fixture) {
|
||||
f.config.mockFileSystem("", f.mockFS)
|
||||
mutator(f.ctx)
|
||||
})
|
||||
}
|
||||
|
||||
func FixtureRegisterWithContext(registeringFunc func(ctx RegistrationContext)) FixturePreparer {
|
||||
return FixtureModifyContext(func(ctx *TestContext) { registeringFunc(ctx) })
|
||||
}
|
||||
|
Reference in New Issue
Block a user