Skip to content
This repository has been archived by the owner on Dec 15, 2019. It is now read-only.

Commit

Permalink
Test saveAs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryv committed Aug 19, 2019
1 parent 6529581 commit d2f3d0e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ go 1.12
require (
github.com/gregoryv/asserter v0.1.0
github.com/gregoryv/golden v0.3.0
github.com/gregoryv/qual v0.3.1
github.com/gregoryv/qual v0.3.1 // indirect
)
12 changes: 12 additions & 0 deletions package_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package design

import (
"testing"
)

func Test_saveAs(t *testing.T) {
err := saveAs(&SequenceDiagram{}, "/")
if err == nil {
t.Fail()
}
}

0 comments on commit d2f3d0e

Please sign in to comment.