mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 14:15:45 +01:00
Fix failing qmark completion tests.
This commit is contained in:
@@ -91,7 +91,7 @@ var tests = {
|
|||||||
completions: ["", "1"]
|
completions: ["", "1"]
|
||||||
},
|
},
|
||||||
cd: {
|
cd: {
|
||||||
lineOutput: ["", "~/"],
|
singleOutput: ["", "~/"],
|
||||||
completions: ["", "~/"]
|
completions: ["", "~/"]
|
||||||
},
|
},
|
||||||
colorscheme: {
|
colorscheme: {
|
||||||
@@ -99,7 +99,7 @@ var tests = {
|
|||||||
},
|
},
|
||||||
command: {
|
command: {
|
||||||
init: ["comclear"],
|
init: ["comclear"],
|
||||||
lineOutput: ["", "foobar"],
|
singleOutput: ["", "foobar"],
|
||||||
noOutput: ["foo bar", "-js bar baz"],
|
noOutput: ["foo bar", "-js bar baz"],
|
||||||
multiOutput: [""],
|
multiOutput: [""],
|
||||||
error: ["foo bar", "-js bar baz"]
|
error: ["foo bar", "-js bar baz"]
|
||||||
@@ -371,15 +371,15 @@ var tests = {
|
|||||||
},
|
},
|
||||||
normal: {
|
normal: {
|
||||||
noOutput: ["<Nop>"],
|
noOutput: ["<Nop>"],
|
||||||
lineOutput: ["<C-g>"],
|
singleOutput: ["<C-g>"],
|
||||||
multiOutput: ["g<C-g>"]
|
multiOutput: ["g<C-g>"] // FIXME: broken feature
|
||||||
},
|
},
|
||||||
open: {
|
open: {
|
||||||
noOutput: ["about:blank | about:home"],
|
noOutput: ["about:blank | about:home"],
|
||||||
completions: [
|
completions: [
|
||||||
["", hasItems],
|
["", hasItems],
|
||||||
["./", hasItems],
|
["./", hasItems],
|
||||||
["./ | ", hasItems],
|
["./ | ", hasItems], // FIXME: broken feature
|
||||||
["chrome://", hasItems],
|
["chrome://", hasItems],
|
||||||
["chrome://browser/", hasItems],
|
["chrome://browser/", hasItems],
|
||||||
["chrome://browser/content/", hasItems],
|
["chrome://browser/content/", hasItems],
|
||||||
@@ -401,13 +401,13 @@ var tests = {
|
|||||||
singleOutput: [""]
|
singleOutput: [""]
|
||||||
},
|
},
|
||||||
qmark: {
|
qmark: {
|
||||||
lineOutput: [
|
singleOutput: [
|
||||||
"m",
|
"m",
|
||||||
"m foo bar"
|
"m foo bar"
|
||||||
],
|
],
|
||||||
error: ["", "#"],
|
error: ["", "#"],
|
||||||
completions: [
|
completions: [
|
||||||
["", hasItems], // Fails. Why?
|
["", hasItems],
|
||||||
["m ", hasItems]
|
["m ", hasItems]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user