@@ -148,7 +148,12 @@ final class NoturcodeCoreTests: XCTestCase {
148148 XCTAssertTrue ( provider. contains ( " KeystrokeMonitor(connection, session_id) " ) )
149149 XCTAssertTrue ( provider. contains ( " KeystrokeFilter(connection, patterns, session_id) " ) )
150150 XCTAssertTrue ( provider. contains ( " Modifier.CONTROL " ) )
151- XCTAssertFalse ( provider. contains ( " connected-sessions.json " ) )
151+ let remotePasteStart = try XCTUnwrap ( provider. range ( of: " def remote_paste_sessions(): " ) )
152+ let paneTrackingStart = try XCTUnwrap ( provider. range ( of: " def normalized_terminal_id(value): " ) )
153+ let remotePasteProvider = String (
154+ provider [ remotePasteStart. lowerBound..< paneTrackingStart. lowerBound]
155+ )
156+ XCTAssertFalse ( remotePasteProvider. contains ( " CONNECTED_SESSIONS " ) )
152157 XCTAssertFalse ( provider. contains ( " BRIDGE, \" paste-image-sessions \" " ) )
153158 XCTAssertTrue ( cli. contains ( " terminal-id --remote-host \" $host \" " ) )
154159 XCTAssertTrue ( cli. contains ( " --ssh-control-path \" $control_socket \" " ) )
@@ -177,7 +182,8 @@ final class NoturcodeCoreTests: XCTestCase {
177182 XCTAssertTrue ( uploader. contains ( " RemoteTerminalRegistry().targets() " ) )
178183 XCTAssertTrue ( installer. contains ( " Reload only the small Noturcode provider " ) )
179184 XCTAssertFalse ( installer. contains ( " killall iTerm " ) )
180- XCTAssertTrue ( remoteDocs. contains ( " Image upload reuses that authenticated connection " ) )
185+ XCTAssertTrue ( remoteDocs. contains ( " The `nc ssh` path reuses its OpenSSH control connection. " ) )
186+ XCTAssertTrue ( remoteDocs. contains ( " remote image relay through the live Unix-socket forward. " ) )
181187 XCTAssertFalse ( remoteDocs. contains ( " must accept a \n non-interactive key-based SSH connection " ) )
182188 }
183189
0 commit comments