[kupfer: 7/8] desktop_parse: Add testcase for empty argument (already worked)
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 7/8] desktop_parse: Add testcase for empty argument (already worked)
- Date: Fri, 11 Nov 2011 15:41:42 +0000 (UTC)
commit 99bd389c5c21b9668b9cc7bab6f1a9aab5870321
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Fri Nov 11 16:31:48 2011 +0100
desktop_parse: Add testcase for empty argument (already worked)
Launchpad-bug: https://bugs.launchpad.net/kupfer/+bug/863349
kupfer/desktop_parse.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/desktop_parse.py b/kupfer/desktop_parse.py
index 58d29d4..57ce715 100644
--- a/kupfer/desktop_parse.py
+++ b/kupfer/desktop_parse.py
@@ -114,6 +114,8 @@ def parse_argv(instr):
['/usr/bin/x-prog', '-q', '%F']
>>> parse_argv('env LANG=en_US.UTF-8 freeciv-gtk2')
['env', 'LANG=en_US.UTF-8', 'freeciv-gtk2']
+ >>> parse_argv('emacsclient -a "" -c %f')
+ ['emacsclient', '-a', '', '-c', '%f']
== Below this we need quirks mode ==
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]