Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/pages_v60_fader_wire_tactile_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ def test_replug_and_retract(page):
# of the wave must not reverse into IN->OUT plug-in behavior.
model=HTML[HTML.index("const WIRE_RETRACT_MS=900"):
HTML.index("function startWireRetraction(")]
physics=page.evaluate("()=>{\\n"+model+"""\\n
physics=page.evaluate("()=>{\n"+model+"""\n
const chord=400;
const deviation=(ms,i)=>{
const {d,pose}=wireRetractPathData(0,0,chord,0,ms);
const ys=d.match(/-?\\d+(?:\\.\\d+)?/g).map(Number);
const ys=d.match(/-?\d+(?:\.\d+)?/g).map(Number);
const t=i/64;
const baseline=pose.sag*Math.sin(Math.PI*t);
return ys[2*i+1]-baseline;
Expand Down
Loading