FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
livecode/tests/lcb/stdlib/assert.lcb at develop · livecode/livecode · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
livecode
/
livecode
Public archive
Notifications
You must be signed in to change notification settings
Fork
223
Star
517
Code
Pull requests
189
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
livecode
/
tests
/
lcb
/
stdlib
/
assert.lcb
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (25 loc) · 724 Bytes
Breadcrumbs
livecode
/
tests
/
lcb
/
stdlib
/
assert.lcb
Copy path
File metadata and controls
33 lines (25 loc) · 724 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module com.livecode.array.tests
use com.livecode.__INTERNAL._testlib
handler testExpect_Pass()
expect true is true
return true
end handler
handler testExpect_Fail()
expect false is true
return true
end handler
handler testExpectReason_Pass()
expect that true is true because "reasons"
return true
end handler
handler testExpectReason_Fail()
expect that false is true because "reasons"
return true
end handler
public handler testExpect()
test "expect success" when testExpect_Pass()
MCUnitTestHandlerThrows(testExpect_Fail, "expect failure")
test "expect success with reason" when testExpectReason_Pass()
MCUnitTestHandlerThrows(testExpectReason_Fail, "expect failure with reason")
end handler
end module
Back
|
FazBrowse Home
|
New Git URL