Skip to content

Commit 5ebc997

Browse files
author
jantje
committed
Another "Strring.replaceall to String.replace migration" remaining issue
1 parent be02a53 commit 5ebc997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

io.sloeber.tests/src/io/sloeber/core/CompileAndUpload.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.sloeber.core;
22

3-
import static org.junit.Assert.fail;
3+
import static org.junit.Assert.*;
44

55
import java.io.File;
66
import java.io.FileInputStream;
@@ -139,7 +139,7 @@ public void testExamples() throws Exception {
139139
+ " -DSERIAlDUMP=" + SerialDumpContent);
140140
CodeDescription codeDescriptor=CodeDescription.createCustomTemplate(templateFolder);
141141
Map<String, String> replacers=new TreeMap<>();
142-
replacers.put("\\{SerialMonitorSerial\\}", myBoard.mySerialPort);
142+
replacers.put("{SerialMonitorSerial}", myBoard.mySerialPort);
143143
codeDescriptor.setReplacers(replacers);
144144
Build_Verify_upload(codeDescriptor, compileOptions, SerialDumpContent);
145145

0 commit comments

Comments
 (0)