Skip to content

Commit 71b5a95

Browse files
committed
docs: improve comments in sample code
1 parent 054fa72 commit 71b5a95

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<?php
22

3-
// Check that "Hello World" is on the page
3+
// Verify that "Hello World" is on the page
44
$result->assertSee('Hello World');
5-
// Check that "Hello World" is within an h1 tag
5+
6+
// Verify that "Hello World" is within an h1 tag
67
$result->assertSee('Hello World', 'h1');
7-
// Check that "Hello World" is within an element with the "notice" class
8+
9+
// Verify that "Hello World" is within an element with the "notice" class
810
$result->assertSee('Hello World', '.notice');
9-
// Check that "Hello World" is within an element with id of "title"
11+
12+
// Verify that "Hello World" is within an element with id of "title"
1013
$result->assertSee('Hello World', '#title');
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

3-
// Check that an input exists named 'user' with the value 'John Snow'
3+
// Verify that an input exists named 'user' with the value 'John Snow'
44
$results->assertSeeInField('user', 'John Snow');
5-
// Check a multi-dimensional input
5+
6+
// Verify a multi-dimensional input
67
$results->assertSeeInField('user[name]', 'John Snow');

0 commit comments

Comments
 (0)