feat: publish sanitized custom.97 source
This commit is contained in:
1022 files changed
+69903
-19207
No files matched your search
@@ -60,9 +60,13 @@ func BenchmarkTaskPluginRuntime(b *testing.B) {
|
||||
var err error
|
||||
switch name {
|
||||
case "HasExport":
|
||||
_, err = plugin.Engine.HasExport(ctx, "extractUsage")
|
||||
if !plugin.Engine.HasExport("extractUsage") {
|
||||
b.Fatal("extractUsage not exported")
|
||||
}
|
||||
case "MissingExport":
|
||||
_, err = plugin.Engine.HasExport(ctx, "absentHook")
|
||||
if plugin.Engine.HasExport("absentHook") {
|
||||
b.Fatal("absentHook exported")
|
||||
}
|
||||
default:
|
||||
_, err = plugin.Engine.Call(ctx, "extractUsage", input)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user