<commit_before>package fatcowicons



import grails.test.mixin.*
import org.junit.*

/**
 * See the API for {@link grails.test.mixin.web.GroovyPageUnitTestMixin} for usage instructions
 */
@TestFor(FatcowIconsPluginTagLib)
class FatcowIconsPluginTagLibTests {

    void testIcon() {
        String imgHtml = applyTemplate("<fatcow:icon iconName='accept'/>")
        assertEquals '<img src="null/images/FatCow_Icons16x16/accept.png" alt="accept" />', imgHtml 
    }
}
<commit_msg>Updated test for default alternative text as capitalized icon name<commit_after>package fatcowicons



import grails.test.mixin.*
import org.junit.*

/**
 * See the API for {@link grails.test.mixin.web.GroovyPageUnitTestMixin} for usage instructions
 */
@TestFor(FatcowIconsPluginTagLib)
class FatcowIconsPluginTagLibTests {

    void testIcon() {
        String imgHtml = applyTemplate("<fatcow:icon iconName='accept'/>")
        assertEquals '<img src="null/images/FatCow_Icons16x16/accept.png" alt="Accept" />', imgHtml 
    }
}

{'fraction_non_alphanumeric': 0.11869436201780416, 'fraction_numerical': 0.00791295746785361, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3869145', 'n_tokens_mistral': 335, 'n_tokens_neox': 324, 'n_words': 67}