<commit_before>package main

import "testing"

func TestConcatURL(t *testing.T) {

	t.Run("open base and closed path", func(t *testing.T) {
		base := "http://example.com"
		path := "/api/v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Give: " + url)
		}
	})

	t.Run("closed base and closed path", func(t *testing.T) {
		base := "http://example.com/api/"
		path := "/v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Give: " + url)
		}
	})

	t.Run("closed base and open path", func(t *testing.T) {
		base := "http://example.com/api/"
		path := "v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Give: " + url)
		}
	})

	t.Run("open base and open path", func(t *testing.T) {
		base := "http://example.com/api"
		path := "v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Give: " + url)
		}
	})

}<commit_msg>cleanup test<commit_after>package main

import "testing"

func TestConcatURL(t *testing.T) {

	t.Run("open base and closed path", func(t *testing.T) {
		base := "http://example.com"
		path := "/api/v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Actual: " + url)
		}
	})

	t.Run("closed base and closed path", func(t *testing.T) {
		base := "http://example.com/api/"
		path := "/v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Actual: " + url)
		}
	})

	t.Run("closed base and open path", func(t *testing.T) {
		base := "http://example.com/api/"
		path := "v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Actual: " + url)
		}
	})

	t.Run("open base and open path", func(t *testing.T) {
		base := "http://example.com/api"
		path := "v1/example"
		url, _ := concatURL(base, path)
		if url != "http://example.com/api/v1/example" {
			t.Error("Incorrect url. Expected: http://example.com/api/v1/example. Actual: " + url)
		}
	})

}
{'fraction_non_alphanumeric': 0.2049084534476042, 'fraction_numerical': 0.009349435138293729, 'mean_word_length': 3.2098360655737705, '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': '7503985', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1000, 'n_words': 199}