X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=era.mi%2Fsrc%2Fera%2Fmi%2Flogic%2Ftests%2FConnector.java;h=fcdf6e8ba4e7b9d2297a5ac655798a78adc5867b;hb=7f37c7b2431309e49a0ee116d1ee6c173272e926;hp=23ec1bca1dc8fa22f67523d8a214305d72b6ca2d;hpb=830af2a47f501b4d31f68663b609d225eae603cd;p=Mograsim.git diff --git a/era.mi/src/era/mi/logic/tests/Connector.java b/era.mi/src/era/mi/logic/tests/Connector.java index 23ec1bca..fcdf6e8b 100644 --- a/era.mi/src/era/mi/logic/tests/Connector.java +++ b/era.mi/src/era/mi/logic/tests/Connector.java @@ -15,7 +15,7 @@ public class Connector implements WireArrayObserver public Connector(WireArray a, WireArray b) { if (a.length != b.length) - throw new IllegalArgumentException("WireArray width does not match: " + a.length + ", " + b.length); + throw new IllegalArgumentException(String.format("WireArray width does not match: %o, %o", a.length, b.length)); this.a = a; this.b = b; a.addObserver(this);