Skip to content

Commit 7fc254a

Browse files
committed
change first to only
1 parent de30f69 commit 7fc254a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_parse_psse.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ end
4444
"psse_Benchmark_4ger_33_2015_sys";
4545
loadzone_name_formatter = x -> string(3 * x),
4646
)
47-
lz_original = first(get_components(LoadZone, sys2))
48-
lz_new = first(get_components(LoadZone, sys3))
47+
lz_original = only(get_components(LoadZone, sys2))
48+
lz_new = only(get_components(LoadZone, sys3))
4949
@test parse(Int, get_name(lz_new)) == 3 * parse(Int, get_name(lz_original))
5050
end

0 commit comments

Comments
 (0)