Skip to content

Tests fail due to fish_title appending an extra space in 4.0.2 #360

@JumpIn-Git

Description

@JumpIn-Git

related: NixOS/nixpkgs#393104

expected and actual are the same; these should be passing. tests ran on nixos and arch linux

not ok 252 fish_title: contains current directory and previous command
  ---
    operator: =
    expected: '/tmp/current/directory: last-command - fish'
    actual: '/tmp/current/directory: last-command - fish '
    at: /build/source/tests/fish_title.test.fish:13
  ...
not ok 253 fish_title: contains current directory with an *empty* previous command
  ---
    operator: =
    expected: '/tmp/current/directory - fish'
    actual: '/tmp/current/directory - fish '
    at: /build/source/tests/fish_title.test.fish:18
  ...
not ok 254 fish_title: contains current path without a previous command
  ---
    operator: =
    expected: '/tmp/current/directory - fish'
    actual: '/tmp/current/directory - fish '
    at: /build/source/tests/fish_title.test.fish:22
  ...
not ok 255 fish_title: contains shorten (1) current path
  ---
    operator: =
    expected: '/t/c/directory - fish'
    actual: '/t/c/directory - fish '
    at: /build/source/tests/fish_title.test.fish:27
  ...
not ok 256 fish_title: contains shorten (2) current path
  ---
    operator: =
    expected: '/tm/cu/directory - fish'
    actual: '/tm/cu/directory - fish '
    at: /build/source/tests/fish_title.test.fish:32
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugsomething that doesn't works as expected🐟 upstreamhas an issue opened in fish repo

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions