mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-05 07:50:09 +01:00
Mostly white space, style, and luacheck compliance. Signed-off-by: Jose Luis Duran <[email protected]>
12 lines
222 B
Lua
12 lines
222 B
Lua
#!/usr/libexec/flua
|
|
|
|
local n = require("nuage")
|
|
|
|
print(n.dirname("/my/path/path1"))
|
|
if n.dirname("path") then
|
|
n.err('Expecting nil for n.dirname("path")')
|
|
end
|
|
if n.dirname() then
|
|
n.err("Expecting nil for n.dirname")
|
|
end
|