diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-10-11 11:56:43 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-10-11 11:56:43 +0000 |
| commit | 8cdf5d4a363ba99a6356e7e1dfe0dfb39e6fb13e (patch) | |
| tree | b04d0832d1eddb92910d9eed46610649c059975d /spec | |
| parent | fix about section links (diff) | |
| download | mmm-8cdf5d4a363ba99a6356e7e1dfe0dfb39e6fb13e.tar.gz mmm-8cdf5d4a363ba99a6356e7e1dfe0dfb39e6fb13e.zip | |
change ?interactive pseudofacet to text/html+interactive pseudo-type
fix browser push/popstate
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/key_spec.moon | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/key_spec.moon b/spec/key_spec.moon index 9b7dde4..edd5ccf 100644 --- a/spec/key_spec.moon +++ b/spec/key_spec.moon @@ -56,3 +56,13 @@ describe "Key", -> assert.is.equal 'facet: and -> long -> type', tostring Key 'facet: and -> long -> type' assert.is.equal 'facet: and -> long -> type', tostring Key 'facet', 'and -> long -> type' assert.is.equal 'facet: and -> long -> type', tostring Key 'facet: and -> long -> type' + + it ":tostring formats the key", -> + assert.is.equal 'type/only', (Key 'type/only')\tostring! + assert.is.equal 'type/only', (Key '', 'type/only')\tostring! + assert.is.equal 'type/only', (Key ": type/only")\tostring! + + it ":tostring supports strict mode", -> + assert.is.equal ': type/only', (Key 'type/only')\tostring true + assert.is.equal ': type/only', (Key '', 'type/only')\tostring true + assert.is.equal ': type/only', (Key ": type/only")\tostring true |
