jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/smarty/number_feature.test

45 lines
698 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
{0xBadFace}
{42}
{3.14159}
{4e7}
{5.4E-3}
{2.0e+10}
----------------------------------------------------
[
["smarty", [
["delimiter", "{"],
["number", "0xBadFace"],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["number", "42"],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["number", "3.14159"],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["number", "4e7"],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["number", "5.4E-3"],
["delimiter", "}"]
]],
["smarty", [
["delimiter", "{"],
["number", "2.0e+10"],
["delimiter", "}"]
]]
]
----------------------------------------------------
Checks for numbers.