summaryrefslogtreecommitdiffstats
path: root/test/ral/providers/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ral/providers/group.rb')
-rwxr-xr-xtest/ral/providers/group.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ral/providers/group.rb b/test/ral/providers/group.rb
index cedbf137c..990b0b42c 100755
--- a/test/ral/providers/group.rb
+++ b/test/ral/providers/group.rb
@@ -63,8 +63,7 @@ class TestGroupProvider < Test::Unit::TestCase
def gid(name)
%x{nireport / /groups name gid}.split("\n").each { |line|
group, id = line.chomp.split(/\s+/)
- assert(id =~ /^-?\d+$/, "Group id %s for %s is not a number" %
- [id.inspect, group])
+ assert(id =~ /^-?\d+$/, "Group id %s for %s is not a number" % [id.inspect, group])
if group == name
return Integer(id)
end