fmt; smoke test expects edits option on write prompt
This commit is contained in:
1 parent
5eee541e62
commit
b4e9f4da73
2 files changed
+6
-2
No files matched your search
@@ -1034,7 +1034,11 @@ async fn submit(app: &mut App, mut line: String, c: &Ctx<'_>) {
|
||||
.lock()
|
||||
.unwrap_or_else(|e| e.into_inner())
|
||||
.toggle_yolo();
|
||||
let m = if on { "yolo on: nothing asks" } else { "yolo off" };
|
||||
let m = if on {
|
||||
"yolo on: nothing asks"
|
||||
} else {
|
||||
"yolo off"
|
||||
};
|
||||
app.t.push(Item::Info(m.into()));
|
||||
}
|
||||
"lsp" => {
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ check("tab completion", "es.md")
|
||||
send(b"\x15") # ctrl-u
|
||||
send(b"make hello.txt"); send(b"\r", 2)
|
||||
check("permission prompt", "permission")
|
||||
check("allow always rule", "allow always: write")
|
||||
check("allow all edits option", "allow all edits this session")
|
||||
send(b"y", 2)
|
||||
check("second prompt for bash", "allow always: sort *")
|
||||
send(b"y", 3)
|
||||
|
||||
Reference in new issue
Block a user