<commit_before>// +build linux

package store

import (
	"runtime"
	"testing"
)

func StoreLinux__cadir(t *testing.T) {
	// just grab the linuxStore and make sure it has a cadir member
	s := platform()
	if s.ca == nil || s.ca.empty() {
		t.Errorf("no cadir found on platform: %s", runtime.GOOS)
	}
}<commit_msg>store/linux: cast to linuxStore to grab linux specific fields<commit_after>// +build linux

package store

import (
	"runtime"
	"testing"
)

func StoreLinux__cadir(t *testing.T) {
	// just grab the linuxStore and make sure it has a cadir member
	s, ok := platform().(linuxStore)
	if !ok {
		t.Error("error casting to linuxStore")
	}
	if s.ca == nil || s.ca.empty() {
		t.Errorf("no cadir found on platform: %s", runtime.GOOS)
	}
}
{'fraction_non_alphanumeric': 0.13765182186234817, 'fraction_numerical': 0.0, 'mean_word_length': 3.7261146496815285, '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': '5283153', 'n_tokens_mistral': 280, 'n_tokens_neox': 264, 'n_words': 87}