Skip to content

Commit f3fa22c

Browse files
author
Eugene Leonovich
committed
Fix typo
1 parent 450bc0c commit f3fa22c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ queue = require('queue')
3232
queue.start()
3333

3434
local tube_name = 'foobar'
35-
if null == queue.tube[tube_name] then
35+
if nil == queue.tube[tube_name] then
3636
queue.create_tube(tube_name, 'fifottl')
3737
end
3838
```

tests/Integration/instance.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ queue = require('queue')
1414
queue.start()
1515

1616
function create_tube(tube_name, tube_type, opts)
17-
if null ~= queue.tube[tube_name] then
17+
if nil ~= queue.tube[tube_name] then
1818
queue.tube[tube_name]:drop()
1919
end
2020

0 commit comments

Comments
 (0)