summaryrefslogtreecommitdiff
path: root/tests/test_rep.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_rep.lua')
-rw-r--r--tests/test_rep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_rep.lua b/tests/test_rep.lua
index 068ee72..feb449d 100644
--- a/tests/test_rep.lua
+++ b/tests/test_rep.lua
@@ -99,7 +99,7 @@ local function dump_tree_entry(entry)
end
print('tree_entry.id = ', entry:id())
print('tree_entry.name = ', entry:name())
- print('tree_entry.attributes = ', string.format('0x%08X', entry:attributes()))
+ print('tree_entry.filemode = ', string.format('0x%08X', entry:filemode()))
local obj = entry:object(rep)
print('tree_entry.object = ', obj)
if obj:type() == 'blob' then