<commit_before>/*
 * pango_attr_list_insert.js
 */

const gi = require('../');
const Pango = gi.require('Pango');

const attrs = new Pango.AttrList();

attrs.insert.debug = true;
attrs.insert(new Pango.AttrSize(300));<commit_msg>tests: make pango test fail<commit_after>/*
 * pango_attr_list_insert.js
 */

const gi = require('../');
const Gtk = gi.require('Gtk');
const Pango = gi.require('Pango');

Gtk.init()

const label = new Gtk.Label({ label: 0 })
const attrs = new Pango.AttrList()
const attrSize = new Pango.AttrSize()
attrSize.size = 300
attrs.insert(attrSize)
label.attributes = attrs
{'fraction_non_alphanumeric': 0.16638655462184873, 'fraction_numerical': 0.011764705882352941, 'mean_word_length': 4.730769230769231, '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': '4205431', 'n_tokens_mistral': 215, 'n_tokens_neox': 211, 'n_words': 50}