fix turbo-getent unit test
This commit is contained in:
parent
3fac6a82e5
commit
7a27c06f7b
@ -258,7 +258,6 @@ test "turbo-getent group" {
|
||||
var stderr = ArrayList(u8).init(testing.allocator);
|
||||
defer stderr.deinit();
|
||||
|
||||
if (true) return error.SkipZigTest;
|
||||
{
|
||||
const args = &[_][*:0]const u8{
|
||||
"--db",
|
||||
@ -266,7 +265,7 @@ test "turbo-getent group" {
|
||||
"group",
|
||||
"root",
|
||||
"doesnotexist",
|
||||
"svc-bar",
|
||||
"service-group",
|
||||
"0",
|
||||
"1",
|
||||
};
|
||||
@ -274,7 +273,8 @@ test "turbo-getent group" {
|
||||
try testing.expectEqual(got, 2);
|
||||
const want =
|
||||
\\root:x:0:
|
||||
\\svc-bar:x:128:root,vidmantas
|
||||
\\service-group:x:100000:root,vidmantas
|
||||
\\root:x:0:
|
||||
\\
|
||||
;
|
||||
try testing.expectEqualStrings(want, stdout.items);
|
||||
|
Loading…
Reference in New Issue
Block a user