Add more tests #12
Annotations
1 error and 1 warning
Documentation:
../../../.julia/packages/Documenter/bFHi4/src/DocTests.jl#L373
doctest failure in src/parser.md:183-195
```jldoctest parse1
julia> parse_fasta(">abc\nTAGA\nAAGA\n>header\nAAAG\nGGCG")
ERROR: Error during FSM execution at buffer position 33.
Last 32 bytes were:
">abc\nTAGA\nAAGA\n>header\nAAAG\nGGCG"
Observed input: EOF at state 5. Outgoing edges:
* '\n'/seqline
* [ACGT]
Input is not in any outgoing edge, and machine therefore errored.
```
Subexpression:
parse_fasta(">abc\nTAGA\nAAGA\n>header\nAAAG\nGGCG")
Evaluated output:
ERROR: Error during FSM execution at buffer position 33.
Last 32 byte(s) were:
">abc\nTAGA\nAAGA\n>header\nAAAG\nGGCG"
Observed input: EOF at state 5. Outgoing edges:
* '\n'/seqline
* [ACGT]
Input is not in any outgoing edge, and machine therefore errored.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] throw_input_error(machine::Automa.Machine, state::Int64, byte::Nothing, memory::Automa.SizedMemory, index::Int64)
@ Automa ~/work/Automa.jl/Automa.jl/src/machine.jl:237
[3] macro expansion
@ ~/work/Automa.jl/Automa.jl/src/codegen.jl:709 [inlined]
[4] parse_fasta(data::String)
@ Main ./none:6
[5] top-level scope
@ none:1
Expected output:
ERROR: Error during FSM execution at buffer position 33.
Last 32 bytes were:
">abc\nTAGA\nAAGA\n>header\nAAAG\nGGCG"
Observed input: EOF at state 5. Outgoing edges:
* '\n'/seqline
* [ACGT]
Input is not in any outgoing edge, and machine therefore errored.
diff =
Warning: Diff output requires color.
ERROR: Error during FSM execution at buffer position 33.
Last 32 bytes byte(s) were:
">abc\nTAGA\nAAGA\n>header\nAAAG\nGGCG"
Observed input: EOF at state 5. Outgoing edges:
* '\n'/seqline
* [ACGT]
Input is not in any outgoing edge, and machine therefore errored.errored.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] throw_input_error(machine::Automa.Machine, state::Int64, byte::Nothing, memory::Automa.SizedMemory, index::Int64)
@ Automa ~/work/Automa.jl/Automa.jl/src/machine.jl:237
[3] macro expansion
@ ~/work/Automa.jl/Automa.jl/src/codegen.jl:709 [inlined]
[4] parse_fasta(data::String)
@ Main ./none:6
[5] top-level scope
@ none:1
|
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|