mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-15 01:25:00 +02:00
Feature/doc markup (#543)
* Added release notes * #509 fixedOCOD typo * Updated values * Updated comments * Changed stdlib docs format * Changed format of array in docs * Use 'any' instead of 'value' in docs * New format for optional params * Updated docs for testing package * Added namespace information
This commit is contained in:
@ -8,9 +8,9 @@ import (
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/testing/base"
|
||||
)
|
||||
|
||||
// Array asserts that value is a array type.
|
||||
// @params actual (Mixed) - Value to test.
|
||||
// @params message (String, optional) - Message to display on error.
|
||||
// ARRAY asserts that value is a array type.
|
||||
// @param {Any} actual - Value to test.
|
||||
// @param {String} [message] - Message to display on error.
|
||||
var Array = base.Assertion{
|
||||
DefaultMessage: func(args []core.Value) string {
|
||||
return "be array"
|
||||
|
Reference in New Issue
Block a user