test: Fix small test warnings

These were issues we should be catching.
This commit is contained in:
James Shubin
2023-12-12 00:01:29 -05:00
parent 32b26a09c2
commit a6b6aa570e
5 changed files with 13 additions and 10 deletions

View File

@@ -342,7 +342,9 @@ method instead.
```golang
// moduleName is already set to "math" by the math package. Do this in `init`.
funcs.ModuleRegister(moduleName, "cos", func() interfaces.Func { return &CosFunc{} })
funcs.ModuleRegister(moduleName, "cos", func() interfaces.Func {
return &CosFunc{}
})
```
### Composite functions