mirror of
https://github.com/Dadido3/go-typst.git
synced 2025-11-20 11:49:36 +00:00
Log Typst version string when testing
This commit is contained in:
parent
7561a99a5b
commit
f4c7139902
@ -19,10 +19,12 @@ import (
|
|||||||
func TestCLI_VersionString(t *testing.T) {
|
func TestCLI_VersionString(t *testing.T) {
|
||||||
cli := typst.CLI{}
|
cli := typst.CLI{}
|
||||||
|
|
||||||
_, err := cli.VersionString()
|
v, err := cli.VersionString()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Failed to get typst version: %v.", err)
|
t.Fatalf("Failed to get typst version: %v.", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.Logf("VersionString: %s", v)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCLI_Fonts(t *testing.T) {
|
func TestCLI_Fonts(t *testing.T) {
|
||||||
|
|||||||
@ -27,10 +27,12 @@ func TestDocker_VersionString(t *testing.T) {
|
|||||||
Image: typstDockerImage(),
|
Image: typstDockerImage(),
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := caller.VersionString()
|
v, err := caller.VersionString()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Failed to get typst version: %v.", err)
|
t.Fatalf("Failed to get typst version: %v.", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.Logf("VersionString: %s", v)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDocker_Fonts(t *testing.T) {
|
func TestDocker_Fonts(t *testing.T) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user