diff --git a/spec/01-unit/04-prefix_handler_spec.lua b/spec/01-unit/04-prefix_handler_spec.lua index 37369170a7a0..601b6eebc423 100644 --- a/spec/01-unit/04-prefix_handler_spec.lua +++ b/spec/01-unit/04-prefix_handler_spec.lua @@ -912,16 +912,16 @@ describe("NGINX conf compiler", function() assert.matches("wasm {.+shm_kv counters 10m;.+}", ngx_cfg({ wasm = true, nginx_wasm_shm_kv_counters="10m" }, debug)) end) it("injects a general shm_kv", function() - assert.matches("wasm {.+shm_kv %* 10m;.+}", ngx_cfg({ wasm = true, nginx_wasm_shm_kv="10m" }, debug)) + assert.matches("wasm {.+shm_kv %* 10m;.+}", ngx_cfg({ wasm = true, nginx_wasm_shm_kv = "10m" }, debug)) end) it("injects multiple shm_kvs", function() assert.matches( "wasm {.+shm_kv cache 10m.+shm_kv counters 10m;.+shm_kv %* 5m;.+}", ngx_cfg({ wasm = true, - nginx_wasm_shm_kv_cache="10m", - nginx_wasm_shm_kv_counters="10m", - nginx_wasm_shm_kv="5m", + nginx_wasm_shm_kv_cache = "10m", + nginx_wasm_shm_kv_counters = "10m", + nginx_wasm_shm_kv = "5m", }, debug) ) end)