Skip to content

Commit b6ff339

Browse files
committed
port to Teal
1 parent 77d66c5 commit b6ff339

File tree

6 files changed

+1057
-398
lines changed

6 files changed

+1057
-398
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Copyright (C) 2012-2013 by Moodstocks SAS
2-
Copyright (C) 2014-2022 by Pierre Chapuis
2+
Copyright (C) from 2014 by Pierre Chapuis
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Presentation
77

8-
This is a small Lua test helper with no hard dependency.
8+
This is a small Teal / Lua test helper with no hard dependency.
99

1010
## Alternatives
1111

@@ -50,6 +50,12 @@ Multiplication ...x. FAILED (3 OK, 1 KO)
5050
Squares .......... OK (10 OK, 0 KO)
5151
```
5252

53+
## Changes
54+
55+
### 3.0
56+
57+
cwtest version 3 was rewritten in [Teal](https://github.com/teal-language/tl). Teal compiles down to Lua so you can still use it in Lua. It has the same interface with one major caveat: `failures`, `successes` and `suite` are now method accessors, i.e. you must use `T:successes()` instead of `T.successes`.
58+
5359
## Details
5460

5561
### do/end block
@@ -163,6 +169,6 @@ You can find an example of this
163169
## Copyright
164170

165171
- Copyright (c) 2012-2013 Moodstocks SAS
166-
- Copyright (c) 2014-2022 Pierre Chapuis
172+
- Copyright (c) from 2014 Pierre Chapuis
167173

168-
Some code borrowed from [Penlight](https://github.com/lunarmodules/Penlight), released under the MIT license by Steve Donovan and David Manura.
174+
Some code adapted from [Penlight](https://github.com/lunarmodules/Penlight), released under the MIT license by Steve Donovan and David Manura.

0 commit comments

Comments
 (0)