From: Alan Knowles Date: Wed, 23 May 2012 15:21:19 +0000 (+0800) Subject: tests/soup.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=4d787cae70042aec1ad5d937adc71b22024df2d5 tests/soup.js --- diff --git a/tests/soup.js b/tests/soup.js index 5fba1c37..009e5bb5 100644 --- a/tests/soup.js +++ b/tests/soup.js @@ -7,7 +7,7 @@ var session = new Soup.SessionSync(); File = imports['../File.js'].File; var netrc = File.read(GLib.get_home_dir() + "/.netrc"); -var lines = []; +var lines = {}; netrc.split("\n").forEach(function(nl) { var line = {}; var k = false