1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-01 16:13:02 +00:00

Change import semantics. Fix gc bug with fibers.

This commit is contained in:
Calvin Rose
2018-05-18 20:53:19 -04:00
parent 36ecbeffa6
commit 68895e27d4
7 changed files with 49 additions and 14 deletions

View File

@@ -18,7 +18,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
(import "test/helper.dst")
(import test.helper :prefix "")
(start-suite 0)
(assert (= 10 (+ 1 2 3 4)) "addition")

View File

@@ -18,7 +18,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
(import "test/helper.dst")
(import test.helper :prefix "")
(start-suite 1)
(assert (= 400.0 (sqrt 160000)) "sqrt(160000)=400")