X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2Fsoup.js;h=009e5bb564f477823c247cff3ee29216795f18ae;hb=4d787cae70042aec1ad5d937adc71b22024df2d5;hp=5fba1c37b96d0744a3a882cf20cb9250c65e2cde;hpb=c2de06d77260c6c8f41038f21c60f2e65fffc459;p=gitlive 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