commit f229c342896ebc28acfaab5b70237c6cfc1cfe8a
parent 8968eaf41b35b9c1f5410a228016eefce4df654d
Author: kyle <kyle@0x30.net>
Date: Tue, 12 Jan 2016 23:47:13 -0700
tests: spruce up comments in friend_delete
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/server/tests/friend_delete/test.pl b/server/tests/friend_delete/test.pl
@@ -1,15 +1,13 @@
#!/usr/bin/perl -I../
use strict;
use warnings;
-
use client;
use test;
-# create A and B
my $A = client->new();
my $B = client->new();
-# A friends B, B friends A
+# A and B are mutual friends
$A->friend_add($B->phnum());
$B->friend_add($A->phnum());
@@ -25,7 +23,7 @@ $B->list_join($A->lists(0)->{'id'});
# A deletes B's friendship
$A->friend_delete($B->phnum());
-# check that:
+# Check that:
# - A and B are both in A's first list
# - B can't see A's other list
# - A can't see B's other list