Moved the test binary from "tests" to "testbin" for better organization. Updated `sonar-project.properties` to exclude the new directory from analysis and adjusted test references accordingly.
15 lines
227 B
Go
15 lines
227 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"gitstormr.dev/stone-utils/stonelog"
|
|
)
|
|
|
|
func main() {
|
|
if os.Getenv("TEST_FATAL") == "1" {
|
|
stonelog.InitStoneLog(stonelog.TRACE, false, false)
|
|
stonelog.Meltdown("A fatal error occurred")
|
|
}
|
|
}
|