File: sysutil_test.go

package info (click to toggle)
golang-github-chromedp-sysutil 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 112 kB
  • sloc: makefile: 5
file content (12 lines) | stat: -rw-r--r-- 245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
package sysutil

import (
	"testing"
	"time"
)

// TestBootTime tests the boot time.
func TestBootTime(t *testing.T) {
	t.Logf("boot time: %s", BootTime().Format(time.RFC3339Nano))
	t.Logf("now:       %s", time.Now().Format(time.RFC3339Nano))
}