Add new types Array, Boolean, Record, Math
Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
parent
a50e33ba04
commit
057a2d625e
10 changed files with 137 additions and 29 deletions
|
|
@ -31,6 +31,34 @@ final class FactoryTypeTest extends TestCase
|
|||
'value',
|
||||
'"value"',
|
||||
],
|
||||
'Integer' => [
|
||||
12345,
|
||||
'12345'
|
||||
],
|
||||
'Boolean True' => [
|
||||
true,
|
||||
'true'
|
||||
],
|
||||
'Boolean False' => [
|
||||
false,
|
||||
'false'
|
||||
],
|
||||
'Array' => [
|
||||
['hello', 'world'],
|
||||
'"hello", "world"'
|
||||
],
|
||||
'Dictionary' => [
|
||||
['hello' => 'world', 'foo' => 'bar'],
|
||||
'hello: "world", foo: "bar"'
|
||||
],
|
||||
'Array Multidimensional' => [
|
||||
['hello' => ['test', 'foo']],
|
||||
'hello: ["test", "foo"]'
|
||||
],
|
||||
'Array Multidimensional 2' => [
|
||||
['hello' => ['test' => 'bar', 'foo' => 'hi']],
|
||||
'hello: [test: "bar", foo: "hi"]'
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue