1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/pkg/drivers/cdp/templates/helpers.go
Tim Voronov 82f7317ebe
Feature/#250 wait style (#257)
* Added WAIT_ATTR functions
2019-03-13 22:50:29 -04:00

14 lines
208 B
Go

package templates
import (
"github.com/MontFerret/ferret/pkg/drivers"
)
func WaitEventToEqOperator(when drivers.WaitEvent) string {
if when == drivers.WaitEventPresence {
return "=="
}
return "!="
}