Skip to content

Commit

Permalink
change first to only
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomha committed Sep 16, 2024
1 parent de30f69 commit 7fc254a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_parse_psse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
"psse_Benchmark_4ger_33_2015_sys";
loadzone_name_formatter = x -> string(3 * x),
)
lz_original = first(get_components(LoadZone, sys2))
lz_new = first(get_components(LoadZone, sys3))
lz_original = only(get_components(LoadZone, sys2))
lz_new = only(get_components(LoadZone, sys3))
@test parse(Int, get_name(lz_new)) == 3 * parse(Int, get_name(lz_original))
end

0 comments on commit 7fc254a

Please sign in to comment.