Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ go build -o bin/spf.exe

Edit System Environment Variables and add superfile repo's `bin` directory to your PATH

## Start Superfile
## Start superfile

```bash
spf
Expand Down
2 changes: 1 addition & 1 deletion src/internal/ui/prompt/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "time"
// These could as well be property of prompt Model vs being global consts
// But its fine
const (
promptHeadlineText = "Superfile Prompt"
promptHeadlineText = "superfile Prompt"

OpenCommand = "open"
SplitCommand = "split"
Expand Down
8 changes: 4 additions & 4 deletions src/internal/ui/prompt/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func TestModel_Render(t *testing.T) {
m.setShellMode(true)
res := ansi.Strip(m.Render())
exp := "" +
"╭─┤ " + icon.Terminal + " Superfile Prompt (Shell Mode) ├──╮\n" +
"╭─┤ " + icon.Terminal + " superfile Prompt (Shell Mode) ├──╮\n" +
// 23--------4------------56789012345678901234567890123456789
"│ : │\n" +
// 23456789012345678901234567890123456789
Expand All @@ -250,7 +250,7 @@ func TestModel_Render(t *testing.T) {
m.setShellMode(false)
res = ansi.Strip(m.Render())
exp = "" +
"╭─┤ " + icon.Terminal + " Superfile Prompt (SPF Mode) ├────╮\n" +
"╭─┤ " + icon.Terminal + " superfile Prompt (SPF Mode) ├────╮\n" +
// 23--------4------------56789012345678901234567890123456789
"│ > │\n" +
"├──────────────────────────────────────┤\n" +
Expand Down Expand Up @@ -292,7 +292,7 @@ func TestModel_Render(t *testing.T) {
m.HandleShellCommandResults(0, "")
res := ansi.Strip(m.Render())
exp := "" +
"╭─┤ " + icon.Terminal + " Superfile Prompt (Shell Mode) ├────────────╮\n" +
"╭─┤ " + icon.Terminal + " superfile Prompt (Shell Mode) ├────────────╮\n" +
// 23--------4------------567890123456789012345678901234567890123456789
"│ : │\n" +
// 234567890123456789012345678901234567890123456789
Expand All @@ -305,7 +305,7 @@ func TestModel_Render(t *testing.T) {
m.HandleShellCommandResults(1, "")
res = ansi.Strip(m.Render())
exp = "" +
"╭─┤ " + icon.Terminal + " Superfile Prompt (Shell Mode) ├────────────╮\n" +
"╭─┤ " + icon.Terminal + " superfile Prompt (Shell Mode) ├────────────╮\n" +
// 23--------4------------567890123456789012345678901234567890123456789
"│ : │\n" +
// 234567890123456789012345678901234567890123456789
Expand Down
6 changes: 3 additions & 3 deletions testsuite/core/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def setup(self) -> None:

def start_spf(self) -> None:
self.env.spf_mgr.start_spf(self.env.fs_mgr.abspath(self.start_dir))
assert self.env.spf_mgr.is_spf_running(), "Superfile is not running"
assert self.env.spf_mgr.is_spf_running(), "superfile is not running"

def end_execution(self) -> None:
self.env.spf_mgr.send_special_input(keys.KEY_ESC)
Expand Down Expand Up @@ -112,9 +112,9 @@ def validate(self) -> bool:
self.env.spf_mgr.runtime_info(), self.env.fs_mgr.tree(self.test_root))
try:
if self.validate_spf_closed :
assert not self.env.spf_mgr.is_spf_running(), "Superfile is still running"
assert not self.env.spf_mgr.is_spf_running(), "superfile is still running"
if self.validate_spf_running :
assert self.env.spf_mgr.is_spf_running(), "Superfile is not running"
assert self.env.spf_mgr.is_spf_running(), "superfile is not running"

if self.validate_exists is not None:
for file_path in self.validate_exists:
Expand Down
2 changes: 1 addition & 1 deletion testsuite/tests/chooser_file_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, test_env : Environment):
def start_spf(self) -> None:
self.env.spf_mgr.start_spf(self.env.fs_mgr.abspath(self.start_dir),
["--chooser-file", str(self.env.fs_mgr.abspath(CHOOSER_FILE))])
assert self.env.spf_mgr.is_spf_running(), "Superfile is not running"
assert self.env.spf_mgr.is_spf_running(), "superfile is not running"

# Override
def end_execution(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/contribute/file-struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Contains the main business logic of the application, organized by functionality:
- `style.go` - UI styling definitions
- `style_function.go` - UI styling functions

### `testsuite/` - Superfile's testsuite written in Python
### `testsuite/` - superfile's testsuite written in Python

- Automatically tests superfile's functionality.
- See `testsuite/ReadMe.md` for more info
Expand Down
Loading