Skip to content

Commit 3c79c99

Browse files
committed
Test constants
1 parent b572a9b commit 3c79c99

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Tests/syntax_test_PowerShell.ps1

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,37 @@ throw "Do not run this file!"
103103
# ^ variable.parameter.option punctuation.definition.parameter
104104
# ^^^^^^^^^^^ variable.parameter.option
105105

106+
# Constants
107+
$true
108+
# ^^^^^ constant.language.boolean.true.powershell
109+
# ^ punctuation.definition.variable.powershell
110+
$True
111+
# ^^^^^ constant.language.boolean.true.powershell
112+
# ^ punctuation.definition.variable.powershell
113+
$TRUE
114+
# ^^^^^ constant.language.boolean.true.powershell
115+
# ^ punctuation.definition.variable.powershell
116+
117+
$false
118+
# ^^^^^^ constant.language.boolean.false.powershell
119+
# ^ punctuation.definition.variable.powershell
120+
$False
121+
# ^^^^^^ constant.language.boolean.false.powershell
122+
# ^ punctuation.definition.variable.powershell
123+
$FALSE
124+
# ^^^^^^ constant.language.boolean.false.powershell
125+
# ^ punctuation.definition.variable.powershell
126+
127+
$null
128+
# ^^^^^ constant.language.null.powershell
129+
# ^ punctuation.definition.variable.powershell
130+
$Null
131+
# ^^^^^ constant.language.null.powershell
132+
# ^ punctuation.definition.variable.powershell
133+
$NULL
134+
# ^^^^^ constant.language.null.powershell
135+
# ^ punctuation.definition.variable.powershell
136+
106137
# Automatic variables
107138
$_, $$, $^, $?
108139
# <- punctuation.definition.variable

0 commit comments

Comments
 (0)