Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd68c2d5

Browse files
committed
Add explicit "$SYS" test case
Signed-off-by: Joseph Riddle <joe@synadia.com>
1 parent1ded1cc commitd68c2d5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎conf/parse_test.go‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,17 @@ func TestEnvVariableEmbeddedOutsideOfQuotes(t *testing.T) {
242242
}
243243
}
244244

245+
funcTestEnvVariableEmbeddedSYS(t*testing.T) {
246+
// https://github.com/nats-io/nats-server/pull/5544#discussion_r1641577620
247+
cluster:=`
248+
system_account: "$SYS"
249+
`
250+
ex:=map[string]any{
251+
"system_account":"$SYS",
252+
}
253+
test(t,cluster,ex)
254+
}
255+
245256
funcTestBcryptVariable(t*testing.T) {
246257
ex:=map[string]any{
247258
"password":"$2a$11$ooo",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp