<commit_before>package goxp

import (
	"net/http"
	"net/http/httptest"
	"strings"
	"testing"
)

func Test_Routine(t *testing.T) {
router := NewRouter()
recorder := httptest.NewRecorder()

req, _ := http.NewRequest("GET", "http://localhost:3000/foo", nil)
context := New().createContext(recorder, req)

req2, _ := http.NewRequest("POST", "http://localhost:3000/bar/bat", nil)
context2 := New().createContext(recorder, req2)

req3, _ := http.NewRequest("DELETE", "http://localhost:3000/baz", nil)
context3 := New().createContext(recorder, req3)

req4, _ := http.NewRequest("PATCH", "http://localhost:3000/foo", nil)
context4 := New().createContext(recorder, req4)

req5, _ := http.NewRequest("GET", "http://localhost:3000/theory/and/practice", nil)
context5 := New().createContext(recorder, req5)

req6, _ := http.NewRequest("PUT", "http://localhost:3000/liquid/ice/", nil)
context6 := New().createContext(recorder, req6)

}
<commit_msg>router_test.go + req7<commit_after>package goxp

import (
	"net/http"
	"net/http/httptest"
	"strings"
	"testing"
)

func Test_Routine(t *testing.T) {
router := NewRouter()
recorder := httptest.NewRecorder()

req, _ := http.NewRequest("GET", "http://localhost:3000/foo", nil)
context := New().createContext(recorder, req)

req2, _ := http.NewRequest("POST", "http://localhost:3000/bar/bat", nil)
context2 := New().createContext(recorder, req2)

req3, _ := http.NewRequest("DELETE", "http://localhost:3000/baz", nil)
context3 := New().createContext(recorder, req3)

req4, _ := http.NewRequest("PATCH", "http://localhost:3000/foo", nil)
context4 := New().createContext(recorder, req4)

req5, _ := http.NewRequest("GET", "http://localhost:3000/theory/and/practice", nil)
context5 := New().createContext(recorder, req5)

req6, _ := http.NewRequest("PUT", "http://localhost:3000/liquid/ice/", nil)
context6 := New().createContext(recorder, req6)

req7, _ := http.NewRequest("DELETE", "http://localhost:3000/liquid//nox", nil)
context7 := New().createContext(recorder, req7)

}

{'fraction_non_alphanumeric': 0.19990029910269191, 'fraction_numerical': 0.04287138584247258, 'mean_word_length': 5.96875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7079643', 'n_tokens_mistral': 762, 'n_tokens_neox': 707, 'n_words': 120}