summaryrefslogtreecommitdiffstats
path: root/services/sync/tests/unit/test_service_set_serverURL.js
blob: 6fef2bfaa036c754a2365adc0d16b51ad4492d71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

Cu.import("resource://services-sync/service.js");

function run_test() {
  Service.serverURL = "http://example.com/sync";
  do_check_eq(Service.serverURL, "http://example.com/sync/");

  Service.serverURL = "http://example.com/sync/";
  do_check_eq(Service.serverURL, "http://example.com/sync/");
}