Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: queryverse/TextParse.jl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a6c08b1f41226d0a44a2210a5031529818f114e7
Choose a base ref
..
head repository: queryverse/TextParse.jl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5a99046b7946f280bde533d1e845252d4ba8972a
Choose a head ref
Showing with 4 additions and 4 deletions.
  1. +1 −1 .github/workflows/jlpkgbutler-ci-master-workflow.yml
  2. +1 −1 .github/workflows/jlpkgbutler-ci-pr-workflow.yml
  3. +2 −2 test/runtests.jl
2 changes: 1 addition & 1 deletion .github/workflows/jlpkgbutler-ci-master-workflow.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8']
julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9']
julia-arch: [x64, x86]
os: [ubuntu-latest, windows-latest, macOS-latest]
exclude:
2 changes: 1 addition & 1 deletion .github/workflows/jlpkgbutler-ci-pr-workflow.yml
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8']
julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9']
julia-arch: [x64, x86]
os: [ubuntu-latest, windows-latest, macOS-latest]
exclude:
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ Base.:(==)(a::T, b::T) where {T<:AbstractToken} = string(a) == string(b)
@test tryparsenext(fromtype(Float64), "12", 1, 2) |> unwrap == (12.0, 3)
@test tryparsenext(fromtype(Float64), ".1", 1, 2) |> unwrap == (0.1, 3)
@test tryparsenext(fromtype(Float64), "1.1", 1, 3) |> unwrap == (1.1, 4)
@test tryparsenext(fromtype(Float32), "1.", 1, 2) |> unwrap == (1.0f0, 3)
@test tryparsenext(fromtype(Float32), "1.", 1, 2) |> unwrap == (1f0, 3)
@test tryparsenext(fromtype(Float64), "-1.1", 1, 4) |> unwrap == (-1.1, 5)
@test tryparsenext(fromtype(Float64), "-1.0e-12", 1, 8) |> unwrap == (-1.0e-12, 9)
@test tryparsenext(fromtype(Float64), "-1e-12") |> unwrap == (-1.0e-12, 7)
@@ -83,7 +83,7 @@ Base.:(==)(a::T, b::T) where {T<:AbstractToken} = string(a) == string(b)
@test tryparsenext(fromtype(Float64), SubString("12", 1), 1, 2) |> unwrap == (12.0, 3)
@test tryparsenext(fromtype(Float64), SubString(".1", 1), 1, 2) |> unwrap == (0.1, 3)
@test tryparsenext(fromtype(Float64), SubString("1.1", 1), 1, 3) |> unwrap == (1.1, 4)
@test tryparsenext(fromtype(Float32), SubString("1.", 1), 1, 2) |> unwrap == (1.0f0, 3)
@test tryparsenext(fromtype(Float32), SubString("1.", 1), 1, 2) |> unwrap == (1f0, 3)
@test tryparsenext(fromtype(Float64), SubString("-1.1", 1), 1, 4) |> unwrap == (-1.1, 5)
@test tryparsenext(fromtype(Float64), SubString("-1.0e-12", 1), 1, 8) |> unwrap == (-1.0e-12, 9)
@test tryparsenext(fromtype(Float64), SubString("-1e-12", 1)) |> unwrap == (-1.0e-12, 7)