From 5bff1a6c3496646a737aadd24cc4cb3129129d73 Mon Sep 17 00:00:00 2001 From: HlisTilen Date: Thu, 17 Oct 2024 12:36:13 +0200 Subject: [PATCH] Bump version (0.2.3) --- Project.toml | 2 +- test/test_TCXReader.jl | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index a669517..dc925cb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "TCXReader" uuid = "1acf2333-b1bd-424d-862d-25e89a4f23c1" authors = ["Tilen Hliš ", "Iztok Fister Jr. "] -version = "0.2.2" +version = "0.2.3" [deps] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" diff --git a/test/test_TCXReader.jl b/test/test_TCXReader.jl index fa61b89..f71c6bf 100644 --- a/test/test_TCXReader.jl +++ b/test/test_TCXReader.jl @@ -88,7 +88,12 @@ end @test tp.heart_rate_bpm === 150 @test tp.cadence === 100 @test tp.speed ≈ 2.5 - @test tp.watts === 200 + + if tp.watts !== nothing + @test tp.watts === 200 + else + @test tp.watts === nothing + end else @test false end