Commit 35e4b9e1 authored by Sebastian Stark's avatar Sebastian Stark

test scheds subcommand

parent 5e87a36b
......@@ -23,3 +23,13 @@ func ExampleSubcmdList() {
// 2014-05-17 Saturday 16:41:56 (1s, 5s)
// 2014-05-17 Saturday 16:42:01 (1s, 5s)
}
func ExampleScheds() {
schedules.list()
// Output:
// longterm: [6h0m0s 24h0m0s 168h0m0s 672h0m0s 876000h0m0s]
// shortterm: [10m0s 2h0m0s 24h0m0s 168h0m0s 672h0m0s 876000h0m0s]
// test1: [24h0m0s 168h0m0s 672h0m0s 876000h0m0s]
// testing: [5s 20s 2m20s 4m40s 876000h0m0s]
// testing2: [5s 20s 40s 1m20s 876000h0m0s]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment