diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap index 7c5104cfe2..14c6922da3 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.js.snap @@ -1082,179 +1082,20 @@ Deserunt officia esse aliquip consectetur duis ut labore laborum commodo aliquip - - package - - main + package main - - - import - - ( - - - "fmt" - - - - - "net/http" - - +import ( + "fmt" + "net/http" ) - - - - func - - - - handler - - - (w http.ResponseWriter, r *http.Request) - - - { - fmt.Fprintf(w, - - "Hi there, I love %s!" - - , r.URL.Path[ - - 1 - - :]) +func handler(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:]) } - - - - func - - - - main - - - () - - - { - http.HandleFunc( - - "/" - - , handler) - http.ListenAndServe( - - ":8080" - - , - - nil - - ) +func main() { + http.HandleFunc("/", handler) + http.ListenAndServe(":8080", nil) }