Files
snapd/asserts/sysdb/testkeys.go
Miguel Pires 13209fc52c many: fix formatting w/ latest go version
Fix formatting when running the latest version (1.17) of gofmt.
2021-12-08 13:59:56 +00:00

32 lines
950 B
Go

// -*- Mode: Go; indent-tabs-mode: t -*-
//go:build withtestkeys
// +build withtestkeys
/*
* Copyright (C) 2016 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package sysdb
import (
"github.com/snapcore/snapd/asserts/systestkeys"
)
// init will inject the test trusted assertions when this module build tag "withtestkeys" is defined.
func init() {
InjectTrusted(systestkeys.Trusted)
}