Skip to content

Commit

Permalink
Merge pull request #8730 from Dilhasha/fix-test-issues
Browse files Browse the repository at this point in the history
Fix issues in tests learn pages
  • Loading branch information
praneesha committed Feb 26, 2024
2 parents d656338 + 2b5f2c2 commit 871059d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To get started, let's set up the Ballerina package to run tests.
Running Tests
hello
hello_world
1 passing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ The Ballerina test framework supports the following assertions, which help to ve
</td>
</tr>
<tr>
<td><code>assertEquals(anydata|error actual, anydata expected, string message)</code></td>
<td><code>assertEquals(any|error actual, anydata expected, string message)</code></td>
<td>
Asserts that the actual value is equal to the expected value with an optional message.
</td>
</tr>
<tr>
<td><code>assertNotEquals(anydata actual, anydata expected, string message)</code></td>
<td><code>assertNotEquals(any actual, anydata expected, string message)</code></td>
<td>
Asserts that the actual value is not equal to the expected value with an optional message.
</td>
Expand Down Expand Up @@ -322,6 +322,6 @@ function testAssertTuples() {
[fail] testAssertTuples:
Assertion Failed!
expected: '12 John'
actual : '10 John'
expected: '[12,"John"]'
actual : '[10,"John"]'
```

0 comments on commit 871059d

Please sign in to comment.