From 1a452ffac0280c8e0444360cf2eac8535c626cdf Mon Sep 17 00:00:00 2001 From: "Vojtech Vitek (V-Teq)" Date: Fri, 5 Sep 2014 00:01:07 +0200 Subject: [PATCH] Add first test - create client --- tests/client_test.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/client_test.go diff --git a/tests/client_test.go b/tests/client_test.go new file mode 100644 index 0000000..f0cb73b --- /dev/null +++ b/tests/client_test.go @@ -0,0 +1,30 @@ +/* +Copyright 2014 go-trello authors. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package trello + +import ( + "testing" + + "github.com/VojtechVitek/go-trello" +) + +func TestCreateTrelloClient(t *testing.T) { + trello, err := trello.NewClient() + if err != nil { + t.Errorf("Failed to create Trello client.") + } +}