mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc, fmt: use map{key: value}
syntax for map literals (#8623)
This commit is contained in:
@ -208,7 +208,7 @@ fn testsuite_end() {
|
||||
// It sends a request to the server to shutdown.
|
||||
x := http.fetch('http://127.0.0.1:$sport/shutdown',
|
||||
method: .get
|
||||
cookies: {
|
||||
cookies: map{
|
||||
'skey': 'superman'
|
||||
}
|
||||
) or {
|
||||
|
Reference in New Issue
Block a user