summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2017-04-22 23:02:21 +0200
committerCarlos Soriano <csoriano@gnome.org>2017-04-22 23:02:21 +0200
commit27a72df3172dcb7587fb0ff55a74f13c5a46090a (patch)
treea57bd69d430c4b5abe7163abf9a9c021df329c49
parent073ae42a8b9416f552a757de93ec11d7b22d485b (diff)
downloadnautilus-27a72df3172dcb7587fb0ff55a74f13c5a46090a.tar.gz
file: Remove obsolete test
A comment from Alex said in there it was obsolete, and seems at some point we reactivated it.
-rw-r--r--src/nautilus-file.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 5c100f52d..c630aac63 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -9677,18 +9677,6 @@ nautilus_self_check_file (void)
EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), "home");
nautilus_file_unref (file_1);
- /* ALEX: I removed this, because it was breaking distchecks.
- * It used to work, but when canonical uris changed from
- * foo: to foo:/// it broke. I don't expect it to matter
- * in real life */
- file_1 = nautilus_file_get_by_uri (":");
- EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), ":");
- nautilus_file_unref (file_1);
-
- file_1 = nautilus_file_get_by_uri ("eazel:");
- EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), "eazel:///");
- nautilus_file_unref (file_1);
-
/* sorting */
file_1 = nautilus_file_get_by_uri ("file:///etc");
file_2 = nautilus_file_get_by_uri ("file:///usr");