diff options
author | silverwind <me@silverwind.io> | 2023-06-23 00:05:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 22:05:52 +0000 |
commit | d2142ba3c35613c8c4c444ca8a909792b4b9238b (patch) | |
tree | 8b8a1452c31f75d1681c1341c401949186c7c165 /tests | |
parent | 6281ebfec390f66dffee06760b64bf879a66820f (diff) | |
download | gitea-d2142ba3c35613c8c4c444ca8a909792b4b9238b.tar.gz gitea-d2142ba3c35613c8c4c444ca8a909792b4b9238b.zip |
Update octicons and use `octicon-file-directory-symlink` (#25453)
Make use of the [new
octicon](https://github.com/primer/octicons/issues/945) that indicates a
symlink to a directory:
<img width="189" alt="Screenshot 2023-06-22 at 22 50 57"
src="https://github.com/go-gitea/gitea/assets/115237/a70690ea-ebfc-48fe-af23-cdc33bcb2098">
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/repo_test.go b/tests/integration/repo_test.go index 840a43b5eb..2fb1a37d31 100644 --- a/tests/integration/repo_test.go +++ b/tests/integration/repo_test.go @@ -170,7 +170,7 @@ func TestViewRepoWithSymlinks(t *testing.T) { }) assert.Len(t, items, 5) assert.Equal(t, "a: svg octicon-file-directory-fill", items[0]) - assert.Equal(t, "link_b: svg octicon-file-submodule", items[1]) + assert.Equal(t, "link_b: svg octicon-file-directory-symlink", items[1]) assert.Equal(t, "link_d: svg octicon-file-symlink-file", items[2]) assert.Equal(t, "link_hi: svg octicon-file-symlink-file", items[3]) assert.Equal(t, "link_link: svg octicon-file-symlink-file", items[4]) |